summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/configure.in2
-rw-r--r--unix/tcl.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/unix/configure.in b/unix/configure.in
index 21e47376..641f9bb 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -5,10 +5,10 @@ dnl to configure the system for the local environment.
AC_INIT([tcl],[8.6])
AC_PREREQ([2.59])
+AC_CONFIG_HEADERS([tclConfig.h:../unix/tclConfig.h.in])
dnl This is only used when included from macosx/configure.ac
m4_ifdef([SC_USE_CONFIG_HEADERS], [
- AC_CONFIG_HEADERS([tclConfig.h:../unix/tclConfig.h.in])
AC_CONFIG_COMMANDS_PRE([DEFS="-DHAVE_TCL_CONFIG_H -imacros tclConfig.h"])
AH_TOP([
#ifndef _TCLCONFIG
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 4665f44..8139569 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -2477,8 +2477,8 @@ AC_DEFUN([SC_TCL_LINK_LIBS], [
AC_DEFUN([SC_TCL_EARLY_FLAG],[
AC_CACHE_VAL([tcl_cv_flag_]translit($1,[A-Z],[a-z]),
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$2]], [[$3]])],
- [tcl_cv_flag_]translit($1,[A-Z],[a-z])=no,[AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[[#define ]$1[ 1
-]$2]], [[$3]]),
+ [tcl_cv_flag_]translit($1,[A-Z],[a-z])=no,[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[[#define ]$1[ 1
+]$2]], [[$3]])],
[tcl_cv_flag_]translit($1,[A-Z],[a-z])=yes,
[tcl_cv_flag_]translit($1,[A-Z],[a-z])=no)]))
if test ["x${tcl_cv_flag_]translit($1,[A-Z],[a-z])[}" = "xyes"] ; then