mirror of git://gcc.gnu.org/git/gcc.git
configure.in (thread_file): Correct and simplify code to find the thread file.
* configure.in (thread_file): Correct and simplify code to find
the thread file.
* configure: Rebuilt.
From-SVN: r24494
This commit is contained in:
parent
031071bf6b
commit
79014e6f0b
|
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
|
* configure.in (thread_file): Correct and simplify code to find
|
||||||
|
the thread file.
|
||||||
|
* configure: Rebuilt.
|
||||||
|
|
||||||
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
|
1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
|
||||||
|
|
||||||
* configure.in (compiler_name): Add check to detect if this
|
* configure.in (compiler_name): Add check to detect if this
|
||||||
|
|
|
||||||
|
|
@ -1063,21 +1063,14 @@ fi
|
||||||
|
|
||||||
# Determine the name of the GCC thread file.
|
# Determine the name of the GCC thread file.
|
||||||
|
|
||||||
dir=`pwd`
|
|
||||||
if test x"${with_multisubdir}" = "x" ; then
|
|
||||||
gccobjdir=`echo $dir/../../gcc`
|
|
||||||
else
|
|
||||||
gccobjdir=`echo $dir | sed -e s:${with_multisubdir}::`/../../gcc
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo $ac_n "checking for thread file""... $ac_c" 1>&6
|
echo $ac_n "checking for thread file""... $ac_c" 1>&6
|
||||||
echo "configure:1075: checking for thread file" >&5
|
echo "configure:1068: checking for thread file" >&5
|
||||||
if eval "test \"`echo '$''{'objc_cv_thread_file'+set}'`\" = set"; then
|
if eval "test \"`echo '$''{'objc_cv_thread_file'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
if test -f $gccobjdir/Makefile
|
if test -f "$r"/gcc/Makefile
|
||||||
then
|
then
|
||||||
objc_cv_thread_file=`grep \^GCC_THREAD_FILE $gccobjdir/Makefile | awk -F= '{ print $2 }'`
|
objc_cv_thread_file=`grep \^GCC_THREAD_FILE "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
|
||||||
else
|
else
|
||||||
{ echo "configure: error: not found" 1>&2; exit 1; }
|
{ echo "configure: error: not found" 1>&2; exit 1; }
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -90,17 +90,10 @@ AC_HEADER_STDC
|
||||||
|
|
||||||
# Determine the name of the GCC thread file.
|
# Determine the name of the GCC thread file.
|
||||||
|
|
||||||
dir=`pwd`
|
|
||||||
if test x"${with_multisubdir}" = "x" ; then
|
|
||||||
gccobjdir=`echo $dir/../../gcc`
|
|
||||||
else
|
|
||||||
gccobjdir=`echo $dir | sed -e s:${with_multisubdir}::`/../../gcc
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_CACHE_CHECK([for thread file],objc_cv_thread_file,
|
AC_CACHE_CHECK([for thread file],objc_cv_thread_file,
|
||||||
[if test -f $gccobjdir/Makefile
|
[if test -f "$r"/gcc/Makefile
|
||||||
then
|
then
|
||||||
objc_cv_thread_file=`grep \^GCC_THREAD_FILE $gccobjdir/Makefile | awk -F= '{ print $2 }'`
|
objc_cv_thread_file=`grep \^GCC_THREAD_FILE "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([not found])
|
AC_MSG_ERROR([not found])
|
||||||
fi])
|
fi])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue