summaryrefslogtreecommitdiffstats
path: root/libobjc/configure
diff options
context:
space:
mode:
authorneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-09 11:59:27 +0000
committerneroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-09 11:59:27 +0000
commitaaa34aa07d4dbae1bcef69f50f410acdaf2d70da (patch)
tree3f169aa6ec76c4f324396d4d56f580f7e34f7749 /libobjc/configure
parent62fa43578f5acfc6f90720338a65b0847153ca1c (diff)
downloadppe42-gcc-aaa34aa07d4dbae1bcef69f50f410acdaf2d70da.tar.gz
ppe42-gcc-aaa34aa07d4dbae1bcef69f50f410acdaf2d70da.zip
* configure.in: Improve comments on gthread_cflags. Improve m4
quotation, and replace 'if test' with 'case', for --enable-objc-gc. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80548 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/configure')
-rwxr-xr-xlibobjc/configure15
1 files changed, 7 insertions, 8 deletions
diff --git a/libobjc/configure b/libobjc/configure
index 0de56e03960..ec35252927e 100755
--- a/libobjc/configure
+++ b/libobjc/configure
@@ -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
OpenPOWER on IntegriCloud