Move some macro calls to fix autoconf warnings.

[CONFIGURATION]
* BUG: Move some macro calls to fix autoconf warnings.
This commit is contained in:
gambas 2018-10-01 10:55:43 +02:00
parent a2d936dedb
commit 5d1d758dd6

View File

@ -169,13 +169,6 @@ AC_DEFUN([GB_INIT],
AC_CHECK_HEADERS(unistd.h)
dnl ---- Checks for programs
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_CC
AC_PROG_MAKE_SET
dnl ---- Checks for header files.
dnl AC_HEADER_DIRENT
@ -382,6 +375,13 @@ AC_DEFUN([GB_INIT],
CFLAGS=""
CXXFLAGS=""
dnl ---- Checks for programs
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_CC
AC_PROG_MAKE_SET
AC_SUBST(AM_CFLAGS)
AC_SUBST(AM_CFLAGS_OPT)
AC_SUBST(AM_CXXFLAGS)