]> code.citadel.org Git - citadel.git/commitdiff
substitute our compile prefix.
authorWilfried Göesgens <willi@citadel.org>
Thu, 16 Mar 2006 21:22:08 +0000 (21:22 +0000)
committerWilfried Göesgens <willi@citadel.org>
Thu, 16 Mar 2006 21:22:08 +0000 (21:22 +0000)
webcit/configure.in

index fe7d90e7bf7cce91a5a510ba165cdfb1463428c0..76a2f32df58f979ad7fba5b155093920eb8136d4 100644 (file)
@@ -2,9 +2,13 @@ dnl Process this file with autoconf to produce a configure script.
 dnl $Id$
 dnl AC_CONFIG_AUX_DIR([autoconf])
 AC_INIT(src/webserver.c)
+AC_GNU_SOURCE
 AM_INIT_AUTOMAKE(webcit,6.72)
 AM_CONFIG_HEADER(config.h)
 AC_PROG_LIBTOOL
+
+dnl Make sure we see all GNU and Solaris extensions.
+
 #AC_CONFIG_HEADERS(sysdep.h)
 #AC_VERSION(6.72)
 #PACKAGE=gettext
@@ -45,7 +49,6 @@ AC_DEFINE([HAVE_OPENSSL],
        ]
 )
 
-AC_DEFINE([WEBCITDIR],"/usr/local/webcit",    [  --with-webcitdir             Directory Prefix])
 
 dnl Set some system-specific variables which are OK to set before compiler
 dnl checks:
@@ -319,7 +322,8 @@ else
        AC_MSG_RESULT(WebCit will be built without character set conversion.)
 fi
 
-
+AC_DEFINE_UNQUOTED([PREFIX],["$prefix"],where should we make our root?)
+dnl AC_SUBST(PREFIX)
 
 dnl dnl Here is the check for libintl etc.
 dnl