diff options
author | mdejong <mdejong> | 2003-06-25 18:56:31 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2003-06-25 18:56:31 (GMT) |
commit | b2985d83d53d176dc990188526b12b93860253c7 (patch) | |
tree | b71b803191dc2e3fd1a1fe4e08a0acfcb58c4de2 | |
parent | 7241bfce6c54be2e146d6c63dfa67d7113688c72 (diff) | |
download | tcl-b2985d83d53d176dc990188526b12b93860253c7.zip tcl-b2985d83d53d176dc990188526b12b93860253c7.tar.gz tcl-b2985d83d53d176dc990188526b12b93860253c7.tar.bz2 |
2003-06-25 Mo DeJong <mdejong@users.sourceforge.net>
* unix/configure: Regen.
* unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when
compiling with cc and add -mieee when compiling
with gcc under OSF1-V5 "Tru64" systems.
[Bug 748957]
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | unix/configure | 10 | ||||
-rw-r--r-- | unix/tcl.m4 | 6 |
3 files changed, 18 insertions, 6 deletions
@@ -1,3 +1,11 @@ +2003-06-25 Mo DeJong <mdejong@users.sourceforge.net> + + * unix/configure: Regen. + * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add -ieee when + compiling with cc and add -mieee when compiling + with gcc under OSF1-V5 "Tru64" systems. + [Bug 748957] + 2003-06-24 Donal K. Fellows <fellowsd@cs.man.ac.uk> * doc/encoding.n: Corrected the docs to say that [source] uses the diff --git a/unix/configure b/unix/configure index 490d1b2..bba3883 100755 --- a/unix/configure +++ b/unix/configure @@ -2108,12 +2108,12 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\ + '#include <stdlib.h>' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ - 'void exit (int);' \ - '#include <stdlib.h>' + 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" @@ -12105,8 +12105,10 @@ _ACEOF LDFLAGS="" CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - if test "$GCC" != "yes" ; then - EXTRA_CFLAGS="-DHAVE_TZSET -std1" + if test "$GCC" = "yes" ; then + EXTRA_CFLAGS="-mieee" + else + EXTRA_CFLAGS="-DHAVE_TZSET -std1 -ieee" fi # see pthread_intro(3) for pthread support on osf1, k.furukawa if test "${TCL_THREADS}" = "1" ; then diff --git a/unix/tcl.m4 b/unix/tcl.m4 index b747142..cd55c74 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -1354,8 +1354,10 @@ dnl AC_CHECK_TOOL(AR, ar) LDFLAGS="" CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}' LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}' - if test "$GCC" != "yes" ; then - EXTRA_CFLAGS="-DHAVE_TZSET -std1" + if test "$GCC" = "yes" ; then + EXTRA_CFLAGS="-mieee" + else + EXTRA_CFLAGS="-DHAVE_TZSET -std1 -ieee" fi # see pthread_intro(3) for pthread support on osf1, k.furukawa if test "${TCL_THREADS}" = "1" ; then |