[Gnucash-changes] r13579 - gnucash/trunk - Reorder CHECK_FUNCS so
that they are checked even if enable-gui=no
Christian Stimming
cstim at cvs.gnucash.org
Fri Mar 10 04:40:47 EST 2006
Author: cstim
Date: 2006-03-10 04:40:46 -0500 (Fri, 10 Mar 2006)
New Revision: 13579
Trac: http://svn.gnucash.org/trac/changeset/13579
Modified:
gnucash/trunk/configure.in
Log:
Reorder CHECK_FUNCS so that they are checked even if enable-gui=no
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2006-03-10 09:36:43 UTC (rev 13578)
+++ gnucash/trunk/configure.in 2006-03-10 09:40:46 UTC (rev 13579)
@@ -117,7 +117,7 @@
# 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 @@
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 @@
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)
More information about the gnucash-changes
mailing list