diff options
Diffstat (limited to 'usrinst.sh')
-rwxr-xr-x | usrinst.sh | 38 |
1 files changed, 32 insertions, 6 deletions
@@ -1,21 +1,47 @@ #!/bin/sh +#****************************************************************************** +# Convenience script specifying most common options to ./configure +# +# $Id: usrinst.sh 2362 2009-04-29 07:21:35Z scribe $ +# +# Copyright 1998-2009 CrossWire Bible Society (http://www.crosswire.org) +# CrossWire Bible Society +# P. O. Box 2528 +# Tempe, AZ 85280-2528 +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation version 2. +# +# 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. +# +# OPTIONS="--prefix=/usr $OPTIONS" -OPTIONS="--disable-shared $OPTIONS" -OPTIONS="--without-conf $OPTIONS" +OPTIONS="--libdir=/usr/lib64 $OPTIONS" OPTIONS="--sysconfdir=/etc $OPTIONS" -#OPTIONS="--with-vcl $OPTIONS" -#OPTIONS="--enable-debug $OPTIONS" +OPTIONS="--without-conf $OPTIONS" +OPTIONS="--disable-shared $OPTIONS" +OPTIONS="--enable-debug $OPTIONS" #OPTIONS="--enable-profile $OPTIONS" + OPTIONS="--with-icu $OPTIONS" #OPTIONS="--without-clucene $OPTIONS" #OPTIONS="--without-curl $OPTIONS" + OPTIONS="--enable-tests $OPTIONS" #OPTIONS="--disable-utilities $OPTIONS" -#OPTIONS="--libdir=/usr/lib64 $OPTIONS" -CPPFLAGS="$CFLAGS $CPPFLAGS -DUSBINARY" ./configure $OPTIONS $* +# Use these for Windows DLL build +#LIBS="-no-undefined" +#OPTIONS="lt_cv_deplibs_check_method=pass_all $OPTIONS" + +LIBS="$LIBS" CPPFLAGS="$CFLAGS $CPPFLAGS -DUSBINARY" ./configure $OPTIONS $* + echo "" echo "" |