diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 1999-11-26 16:19:30 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 1999-11-26 16:19:30 +0000 |
commit | e4dabd0ef53d766ea2b01478cfabd989b5b77995 (patch) | |
tree | a3b836e9198404e194240e1f104798f91b2d29ce /ld | |
parent | 20cfcaae7be9de914b81b35ff98317e33695a60c (diff) | |
download | binutils-gdb-e4dabd0ef53d766ea2b01478cfabd989b5b77995.tar.gz |
* configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for
STRINGIFY. Use yes/no instead of true/false as value for cache
variable.
* configure: Regenerate.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 7 | ||||
-rwxr-xr-x | ld/configure | 15 | ||||
-rw-r--r-- | ld/configure.in | 8 |
3 files changed, 21 insertions, 9 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 41c5a5c44bd..e5c5ec1f4f0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +1999-11-26 Andreas Schwab <schwab@suse.de> + + * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for + STRINGIFY. Use yes/no instead of true/false as value for cache + variable. + * configure: Regenerate. + 1999-11-24 Nick Clifton <nickc@cygnus.com> * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD diff --git a/ld/configure b/ld/configure index 0155179ec80..4b4ec5ec9ff 100755 --- a/ld/configure +++ b/ld/configure @@ -3979,7 +3979,7 @@ else if { (eval echo configure:3980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then for file in conftest.*; do case $file in - *.c | *.o | *.obj | *.ilk | *.pdb) ;; + *.c | *.o | *.obj) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done @@ -4712,30 +4712,33 @@ fi # broken Microsoft MSVC compiler, which limits the length of string # constants, while still supporting pre-ANSI compilers which do not # support string concatenation. +echo $ac_n "checking whether ANSI C string concatenation works""... $ac_c" 1>&6 +echo "configure:4717: checking whether ANSI C string concatenation works" >&5 if eval "test \"`echo '$''{'ld_cv_string_concatenation'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4720 "configure" +#line 4722 "configure" #include "confdefs.h" int main() { char *a = "a" "a"; ; return 0; } EOF -if { (eval echo configure:4727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - ld_cv_string_concatenation=true + ld_cv_string_concatenation=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - ld_cv_string_concatenation=false + ld_cv_string_concatenation=no fi rm -f conftest* fi -if test "$ld_cv_string_concatenation" = "true"; then +echo "$ac_t""$ld_cv_string_concatenation" 1>&6 +if test "$ld_cv_string_concatenation" = "yes"; then STRINGIFY=astring.sed else STRINGIFY=ostring.sed diff --git a/ld/configure.in b/ld/configure.in index c3d5e97250c..32fc5f65ad1 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -74,11 +74,13 @@ BFD_NEED_DECLARATION(environ) # broken Microsoft MSVC compiler, which limits the length of string # constants, while still supporting pre-ANSI compilers which do not # support string concatenation. +AC_MSG_CHECKING([whether ANSI C string concatenation works]) AC_CACHE_VAL(ld_cv_string_concatenation, [AC_TRY_COMPILE(,[char *a = "a" "a";], - [ld_cv_string_concatenation=true], - [ld_cv_string_concatenation=false])]) -if test "$ld_cv_string_concatenation" = "true"; then + [ld_cv_string_concatenation=yes], + [ld_cv_string_concatenation=no])]) +AC_MSG_RESULT($ld_cv_string_concatenation) +if test "$ld_cv_string_concatenation" = "yes"; then STRINGIFY=astring.sed else STRINGIFY=ostring.sed |