]> code.citadel.org Git - citadel.git/blobdiff - citadel/configure
If you can't handle me at my worst, you don't deserve me at my best.
[citadel.git] / citadel / configure
index 7d1b524fc75b1b7fb52382838d5835a37f039c85..a6c2def3e7df3a4ce72e4301827e35814828a82e 100755 (executable)
@@ -16,7 +16,9 @@ echo
 echo Running the configure script to create config.mk
 echo
 
+########################################################################
 # Parse the command line arguments
+########################################################################
 for x in $*
 do
        a=$1
@@ -41,7 +43,10 @@ do
        shift
 done
 
-# Set any missing values (FIXME remove the ultra-fatal -W options when finished converting from autotools)
+
+########################################################################
+# Set any missing values
+########################################################################
 
 # Accept PREFIX as a substitute for CTDLDIR, but only if CTDLDIR is not already set
 [ "$CTDLDIR" = "" ] && [ "$PREFIX" != "" ] && CTDLDIR=$PREFIX
@@ -50,9 +55,10 @@ done
 [ "$CTDLDIR" = "" ] && CTDLDIR=/usr/local/citadel
 
 # Permit override of CFLAGS and LDFLAGS using environment variables
-[ "$CFLAGS" = "" ]     && CFLAGS='-ggdb -Werror -Wfatal-errors -Wno-discarded-qualifiers'
+[ "$CFLAGS" = "" ]     && CFLAGS='-ggdb -Wno-discarded-qualifiers'
 [ "$LDFLAGS" = "" ]    && LDFLAGS=''
 
+
 ########################################################################
 # Test for OpenSSL
 ########################################################################
@@ -107,13 +113,17 @@ cc $tempcc -o $tempfile && {
 }
 
 
+########################################################################
 # FIXME do a real build id here
+########################################################################
 CFLAGS=${CFLAGS}' -DBUILD_ID=\"unknown\"'
 
-# Output the config.mk
 
+########################################################################
+# Output the config.mk
+########################################################################
 (
-       echo # config.mk is generated by configure
+       echo '# config.mk is generated by configure'
        echo "CTDLDIR := ${CTDLDIR}"
        echo "CFLAGS := ${CFLAGS}"
        echo "LDFLAGS := ${LDFLAGS}"