mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
This commit is contained in:
parent
839de1e367
commit
8fa8de2360
11
configure
vendored
11
configure
vendored
@ -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
|
||||
|
@ -47,6 +47,11 @@ AC_OUTPUT_COMMANDS([
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user