configure.in: Improve comments on gthread_cflags.
* configure.in: Improve comments on gthread_cflags. Improve m4 quotation, and replace 'if test' with 'case', for --enable-objc-gc. * configure: Regenerate. From-SVN: r80548
This commit is contained in:
parent
1fcfac9834
commit
b43e7294ab
3 changed files with 18 additions and 16 deletions
|
@ -1,5 +1,9 @@
|
|||
2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||
|
||||
* configure.in: Improve comments on gthread_cflags. Improve m4
|
||||
quotation, and replace 'if test' with 'case', for --enable-objc-gc.
|
||||
* configure: Regenerate.
|
||||
|
||||
* configure.in: Move PACKAGE and VERSION settings up top. Remove
|
||||
unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
|
||||
redundant checks for values of RANLIB, AR, INSTALL.
|
||||
|
|
15
libobjc/configure
vendored
15
libobjc/configure
vendored
|
@ -2790,9 +2790,10 @@ done
|
|||
|
||||
|
||||
# Determine CFLAGS for gthread.
|
||||
|
||||
# FIXME: the current implementation is dependent on the 'r' variable
|
||||
# passed down from the top level
|
||||
echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6
|
||||
echo "configure:2796: checking for gthread cflags" >&5
|
||||
echo "configure:2797: checking for gthread cflags" >&5
|
||||
if eval "test \"`echo '$''{'objc_cv_gthread_flags'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -2811,18 +2812,16 @@ GTHREAD_FLAGS=$objc_cv_gthread_flags
|
|||
# Check whether --enable-objc-gc or --disable-objc-gc was given.
|
||||
if test "${enable_objc_gc+set}" = set; then
|
||||
enableval="$enable_objc_gc"
|
||||
if [ x$enable_objc_gc = xno ]; then
|
||||
OBJC_BOEHM_GC=''
|
||||
else
|
||||
OBJC_BOEHM_GC=libobjc_gc.la
|
||||
fi
|
||||
case $enable_objc_gc in
|
||||
no) OBJC_BOEHM_GC='' ;;
|
||||
*) OBJC_BOEHM_GC=libobjc_gc.la ;;
|
||||
esac
|
||||
else
|
||||
OBJC_BOEHM_GC=''
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
# We need multilib support, but only if configuring for the target.
|
||||
trap '' 1 2 15
|
||||
cat > confcache <<\EOF
|
||||
|
|
|
@ -223,7 +223,8 @@ AC_HEADER_STDC
|
|||
AC_CHECK_HEADERS(sched.h)
|
||||
|
||||
# Determine CFLAGS for gthread.
|
||||
|
||||
# FIXME: the current implementation is dependent on the 'r' variable
|
||||
# passed down from the top level
|
||||
AC_CACHE_CHECK([for gthread cflags],objc_cv_gthread_flags,
|
||||
[if test -f "$r"/gcc/Makefile
|
||||
then
|
||||
|
@ -237,15 +238,13 @@ AC_SUBST(GTHREAD_FLAGS)
|
|||
AC_ARG_ENABLE(objc-gc,
|
||||
[ --enable-objc-gc enable the use of Boehm's garbage collector with
|
||||
the GNU Objective-C runtime.],
|
||||
if [[[ x$enable_objc_gc = xno ]]]; then
|
||||
OBJC_BOEHM_GC=''
|
||||
else
|
||||
OBJC_BOEHM_GC=libobjc_gc.la
|
||||
fi,
|
||||
OBJC_BOEHM_GC='')
|
||||
[case $enable_objc_gc in
|
||||
no) OBJC_BOEHM_GC='' ;;
|
||||
*) OBJC_BOEHM_GC=libobjc_gc.la ;;
|
||||
esac],
|
||||
[OBJC_BOEHM_GC=''])
|
||||
AC_SUBST(OBJC_BOEHM_GC)
|
||||
|
||||
|
||||
# We need multilib support, but only if configuring for the target.
|
||||
AC_OUTPUT(Makefile,
|
||||
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
|
||||
|
|
Loading…
Add table
Reference in a new issue