summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-07-09 18:12:42 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-07-09 18:12:42 (GMT)
commit8fa8de23607024742549938250c4628da4958909 (patch)
tree897692a497180b2fd9dfa52671ff6035297b8ffd
parent839de1e367efcc7d56cc71ff96a5e7cee8507f16 (diff)
downloadhdf5-8fa8de23607024742549938250c4628da4958909.zip
hdf5-8fa8de23607024742549938250c4628da4958909.tar.gz
hdf5-8fa8de23607024742549938250c4628da4958909.tar.bz2
[svn-r7190] Purpose:
Feature change. Description: --prefix default was /usr/local. This is not approprirate for development version since it is not likely that one would want to install a development version in the /usr/local area. Solution: Change --prefix default to `pwd`/hdf5, a directory in the build directory. This eliminates the problem that the builder may not have permission to install in the default install directory. It also allows multiple builds in the same host or multiple srcdir using the same source. Platforms tested: h5committested. Also tested in eirene by trying various configure combination to verify the new effect. Misc. update:
-rwxr-xr-xconfigure11
-rw-r--r--configure.in5
2 files changed, 12 insertions, 4 deletions
diff --git a/configure b/configure
index 7a16193..32fba03 100755
--- a/configure
+++ b/configure
@@ -421,6 +421,7 @@ PACKAGE_STRING='HDF5 1.7.0'
PACKAGE_BUGREPORT='hdfhelp@ncsa.uiuc.edu'
ac_unique_file="src/H5.c"
+ac_default_prefix=`pwd`/hdf5
ac_subdirs_all="$ac_subdirs_all ${config_dirs}"
# Factoring default headers for most tests.
ac_includes_default="\
@@ -1509,6 +1510,8 @@ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
+
echo "$as_me:$LINENO: checking shell variables initial values" >&5
echo $ECHO_N "checking shell variables initial values... $ECHO_C" >&6
set >&5
@@ -4113,7 +4116,7 @@ test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4116 "configure"' > conftest.$ac_ext
+ echo '#line 4119 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -4654,7 +4657,7 @@ chmod -w .
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
compiler_c_o=no
-if { (eval echo configure:4657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
+if { (eval echo configure:4660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test -s out/conftest.err; then
@@ -6461,7 +6464,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6464 "configure"
+#line 6467 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -6559,7 +6562,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
-#line 6562 "configure"
+#line 6565 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/configure.in b/configure.in
index 08c748a..7efb33d 100644
--- a/configure.in
+++ b/configure.in
@@ -48,6 +48,11 @@ AC_CANONICAL_HOST
AC_SUBST([CPPFLAGS])
dnl ----------------------------------------------------------------------
+dnl Set prefix default (install directory) to a directory in the build area.
+dnl This allows multiple src-dir builds within one host.
+AC_PREFIX_DEFAULT([`pwd`/hdf5])
+
+dnl ----------------------------------------------------------------------
dnl Dump all shell variables values.
dnl
AC_MSG_CHECKING([shell variables initial values])