From a1c65a2591cdbcb4ca1f469bc12f7a39c01bdb1b Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 10 Feb 2003 00:06:22 +0000 Subject: NTEX --- configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 8e5f43e..30f7436 100644 --- a/configure.ac +++ b/configure.ac @@ -39,8 +39,6 @@ AC_SEARCH_LIBS(gluPerspective, GLU, , [ AC_SEARCH_LIBS(gluPerspective, GLU, , AC_MSG_ERROR([can't find GLU])) ]) -AC_SEARCH_LIBS(EF_Print, efence) - # Checks for header files. AC_FUNC_ALLOCA AC_HEADER_STDC @@ -63,9 +61,17 @@ AC_FUNC_REALLOC AC_FUNC_VPRINTF AC_CHECK_FUNCS([__argz_count __argz_next __argz_stringify getcwd mempcpy munmap nl_langinfo setlocale stpcpy strcasecmp strchr strcspn strdup strstr strtoul atexit]) +AC_ARG_ENABLE([debug], + [ --enable-debug enable verbose debugging], + AC_DEFINE(DEBUG, 1, [Enable verbose debugging])) + +AC_ARG_ENABLE([efence], + [ --enable-efence enable compiling with electic-fence], + AC_SEARCH_LIBS(EF_Print, efence)) AC_PATH_PROG(gmakepath, gmake) AC_PATH_PROG(unamepath, uname) + if test "x$unamepath" = x; then system="unknown" else -- cgit v1.2.3