From 8fa8de23607024742549938250c4628da4958909 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Wed, 9 Jul 2003 13:12:42 -0500 Subject: [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: --- configure | 11 +++++++---- configure.in | 5 +++++ 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 < conftest.$ac_ext <