summaryrefslogtreecommitdiff
path: root/usrinst.sh
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-05-12 08:21:30 -0400
commit7a00574163029c0c2b649878c95d5acbd083564a (patch)
treec13cc5736025834df2874ed87ee8598070025ea6 /usrinst.sh
parentb745315323de9f27538edac9453205ca70e6186e (diff)
Imported Upstream version 1.7.2+dfsg
Diffstat (limited to 'usrinst.sh')
-rwxr-xr-xusrinst.sh19
1 files changed, 13 insertions, 6 deletions
diff --git a/usrinst.sh b/usrinst.sh
index 59ef824..41463eb 100755
--- a/usrinst.sh
+++ b/usrinst.sh
@@ -1,10 +1,11 @@
#!/bin/sh
#******************************************************************************
-# Convenience script specifying most common development options to ./configure
+# usrinst.sh - Convenience script specifying most common development options
+# to ./configure
#
-# $Id: usrinst.sh 2486 2009-12-07 04:02:43Z scribe $
+# $Id: usrinst.sh 2986 2013-10-05 12:32:49Z scribe $
#
-# Copyright 1998-2009 CrossWire Bible Society (http://www.crosswire.org)
+# Copyright 2002-2013 CrossWire Bible Society (http://www.crosswire.org)
# CrossWire Bible Society
# P. O. Box 2528
# Tempe, AZ 85280-2528
@@ -21,15 +22,21 @@
#
OPTIONS="--prefix=/usr $OPTIONS"
-OPTIONS="--libdir=/usr/lib64 $OPTIONS"
+if [ -d /usr/lib64 ]
+then
+ OPTIONS="--libdir=/usr/lib64 $OPTIONS"
+else
+ OPTIONS="--libdir=/usr/lib $OPTIONS"
+fi
OPTIONS="--sysconfdir=/etc $OPTIONS"
OPTIONS="--without-conf $OPTIONS"
OPTIONS="--disable-shared $OPTIONS"
-OPTIONS="--enable-debug $OPTIONS"
+#OPTIONS="--enable-debug $OPTIONS"
#OPTIONS="--enable-profile $OPTIONS"
-#OPTIONS="--without-icu $OPTIONS"
+#OPTIONS="--with-cxx11regex $OPTIONS"
#OPTIONS="--with-icusword $OPTIONS"
+#OPTIONS="--without-icu $OPTIONS"
#OPTIONS="--without-clucene $OPTIONS"
#OPTIONS="--without-curl $OPTIONS"