Reorder CHECK_FUNCS so that they are checked even if enable-gui=no

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13579 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2006-03-10 09:40:46 +00:00
parent a56a386318
commit 5627d8eff4

View File

@@ -117,7 +117,7 @@ fi
# These are unavailable on windows/mingw32
AC_CHECK_HEADERS(X11/Xlib.h glob.h)
AC_CHECK_FUNCS(getppid getuid gethostname gmtime_r)
AC_CHECK_FUNCS(chown gethostname getppid getuid gettimeofday gmtime_r)
### --------------------------------------------------------------------------
### See if we have pkg-config
@@ -1285,8 +1285,6 @@ then
AC_CHECK_HEADERS(fcntl.h malloc.h unistd.h io.h)
AC_FUNC_MMAP
AC_CHECK_FUNCS(chown)
SAVE_CFLAGS=$CFLAGS
SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $LIBGSF_CFLAGS"
@@ -1649,11 +1647,6 @@ then
AC_ARG_VAR(GDK_PIXBUF_CSOURCE, [The gdk-pixbuf-csource executable.])
AC_CHECK_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, gdk-pixbuf-csource)
AC_CHECK_FUNC(gettimeofday,
[AC_DEFINE(HAVE_GETTIMEOFDAY, 1,
[Define if the gettimeofday function is available]
)])
dnl M_PI
AC_MSG_CHECKING([whether M_PI is available])
AC_TRY_COMPILE([#include <math.h>], [double f = M_PI], works_without_bsd_source=yes, works_without_bsd_source=no)