head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2002.12.27.22.10.07; author swiergot; state Exp; branches; next ; desc @@ 1.1 log @- Removed the cross patch - configure doesn't see a cross compiler. - Don't copy out config.log. - Added a printf-locale patch not to use printf() with locale format. It looks like GCC doesn't support it properly and configure can't see that. @ text @--- configure.orig 2002-11-17 15:22:31.000000000 +0100 +++ configure 2002-12-27 23:04:00.000000000 +0100 @@@@ -4661,49 +4661,7 @@@@ CPPFLAGS="$CPPFLAGS -DHAVE_ZLIB" fi -echo $ac_n "checking support of locale format in printf""... $ac_c" 1>&6 -echo "configure:4666: checking support of locale format in printf" >&5 -if test "$cross_compiling" = yes; then - HAVE_LOCALE_SUPPORT=no -else - cat > conftest.$ac_ext < -#endif -/* check if %' format in printf is supported */ -/* we do a %'d on a value of 1 in a buffer */ -/* if %' is not supported, the buffer will contain a string starting with '%' */ -int main() -{ - char buf[512]; - sprintf(buf,"%'d",1); - if(buf[0]!='1') /* supported ? */ - exit(1); /* no */ - exit(0); /* yes */ -} - -EOF -if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - : -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - HAVE_LOCALE_SUPPORT=no -fi -rm -fr conftest* -fi - -if test "x$HAVE_LOCALE_SUPPORT" = "xno"; then - CPPFLAGS="$CPPFLAGS -DNO_PRINTF_LOCALE" - echo "$ac_t""no" 1>&6 -else - echo "$ac_t""yes" 1>&6 -fi +CPPFLAGS="$CPPFLAGS -DNO_PRINTF_LOCALE" trap '' 1 2 15 cat > confcache <<\EOF @ .