summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac21
1 files changed, 7 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 972279b..eb96f64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,8 +3,8 @@
AC_PREREQ(2.56)
-PACKAGE=Baltisot
-VERSION=0.1.0
+AC_DEFINE(PACKAGE, [Baltisot], "Package name")
+AC_DEFINE(VERSION, [0.1.0], "Version")
AC_SUBST(PACKAGE, [Baltisot])
AC_SUBST(VERSION, [0.1.0])
@@ -81,17 +81,8 @@ if test x$ac_cv_search_deflate != xno ; then
)
)
CPPFLAGS=$OLDCPPFLAGS
-fi
+fi
-AC_CACHE_CHECK([usable long long], ac_cv_use_longlong,
- AC_TRY_COMPILE(
- [],
- [unsigned long long t;],
- [AC_DEFINE([USE_LONG_LONG], 1, [Can use Long Long])
- ac_cv_use_longlong="yes"],
- [ac_cv_use_longlong="no"]
- )
-)
AC_CHECK_FUNCS(gethostbyname)
AC_CHECK_FUNCS(regcomp)
@@ -107,7 +98,10 @@ else
AC_MSG_RESULT($system)
fi
-
+
+AC_DEFINE(USE_LONG_LONG, 1, [Use long long])
+AC_DEFINE(USE_DATE, 1, [Use the String's date extension])
+AC_DEFINE(DEBUG, 1, [Enable verbose debugging])
AC_CONFIG_FILES([Makefile
doc/Makefile
@@ -135,4 +129,3 @@ if test _"$gmakepath" = _; then
else
echo configure complete, now type \'gmake\'
fi
- \ No newline at end of file