]> code.citadel.org Git - citadel.git/blobdiff - textclient/configure
Release version 950 generated by do-release.sh
[citadel.git] / textclient / configure
index c6f893664e58073c31a8b96d305602a2a6f72a4a..f43c18f3d614df4a6a2983b817e5f9d49b18ddd2 100755 (executable)
@@ -1,5 +1,17 @@
 #!/bin/sh
 
+# CONFIGURE SCRIPT FOR CITADEL TEXT CLIENT
+# This file is part of "conf-IG-ure"
+# Copyright (C) 2016-2019 by Art Cancro
+#
+# This program is open source software.  Use, duplication, and/or
+# disclosure are subject to the GNU General Purpose License version 3.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+
 echo 
 echo 
 echo Running the configure script to create config.mk
@@ -19,6 +31,9 @@ do
                --bindir)
                        BINDIR=$v
                ;;
+               --etcdir)
+                       ETCDIR=$v
+               ;;
                --ctdldir)
                        CTDLDIR=$v
                ;;
@@ -34,9 +49,10 @@ do
                        echo Valid options are:
                        echo '  --prefix=PREFIX         Install files in PREFIX [/usr/local]'
                        echo '  --bindir=DIR            Install executables in DIR [PREFIX/bin]'
+                       echo '  --etcdir=DIR            Install citadel.rc in DIR [PREFIX/etc]'
                        echo '  --ctdldir=DIR           Look for Citadel server in DIR [/usr/local/citadel]'
-                       echo '  --with-ssl              Force build with OpenSSL support [normally autodetected'
-                       echo '  --without-ssl           Force build without OpenSSL support [normally autodetected'
+                       echo '  --with-ssl              Force build with OpenSSL support [normally autodetected]'
+                       echo '  --without-ssl           Force build without OpenSSL support [normally autodetected]'
                        exit 1
                ;;
        esac
@@ -48,7 +64,7 @@ done
 [ "$PREFIX" = "" ]     && PREFIX=/usr/local
 [ "$BINDIR" = "" ]     && BINDIR=${PREFIX}/bin
 [ "$CTDLDIR" = "" ]    && CTDLDIR=/usr/local/citadel
-[ "$CFLAGS" = "" ]     && CFLAGS='-ggdb'
+[ "$CFLAGS" = "" ]     && CFLAGS='-Wformat-truncation=0 -ggdb'
 [ "$LDFLAGS" = "" ]    && LDFLAGS=''
 
 # Test for OpenSSL