* configure.in: Look for common files in the right place.
From-SVN: r59039
This commit is contained in:
parent
3788cc1761
commit
6bee537279
@ -1,3 +1,7 @@
|
||||
2002-11-11 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* configure.in: Look for common files in the right place.
|
||||
|
||||
2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpret
|
||||
|
6
libffi/configure
vendored
6
libffi/configure
vendored
@ -652,9 +652,8 @@ else
|
||||
libffi_basedir="${srcdir}"
|
||||
fi
|
||||
|
||||
|
||||
ac_aux_dir=
|
||||
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
||||
for ac_dir in ${libffi_basedir}/.. $srcdir/${libffi_basedir}/..; do
|
||||
if test -f $ac_dir/install-sh; then
|
||||
ac_aux_dir=$ac_dir
|
||||
ac_install_sh="$ac_aux_dir/install-sh -c"
|
||||
@ -666,13 +665,14 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
||||
fi
|
||||
done
|
||||
if test -z "$ac_aux_dir"; then
|
||||
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
|
||||
{ echo "configure: error: can not find install-sh or install.sh in ${libffi_basedir}/.. $srcdir/${libffi_basedir}/.." 1>&2; exit 1; }
|
||||
fi
|
||||
ac_config_guess=$ac_aux_dir/config.guess
|
||||
ac_config_sub=$ac_aux_dir/config.sub
|
||||
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
||||
|
||||
|
||||
|
||||
# Make sure we can run config.sub.
|
||||
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
||||
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
||||
|
@ -30,6 +30,7 @@ else
|
||||
libffi_basedir="${srcdir}"
|
||||
fi
|
||||
AC_SUBST(libffi_basedir)
|
||||
AC_CONFIG_AUX_DIR(${libffi_basedir}/..)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user