| OLD | NEW |
| 1 #------------------------------------------------------------------------ | 1 #------------------------------------------------------------------------ |
| 2 # SC_PATH_TCLCONFIG -- | 2 # SC_PATH_TCLCONFIG -- |
| 3 # | 3 # |
| 4 # Locate the tclConfig.sh file and perform a sanity check on | 4 # Locate the tclConfig.sh file and perform a sanity check on |
| 5 # the Tcl compile flags | 5 # the Tcl compile flags |
| 6 # | 6 # |
| 7 # Arguments: | 7 # Arguments: |
| 8 # none | 8 # none |
| 9 # | 9 # |
| 10 # Results: | 10 # Results: |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC | 283 # of TCL_BUILD_LIB_SPEC. An extension should make use of TCL_LIB_SPEC |
| 284 # instead of TCL_BUILD_LIB_SPEC since it will work with both an | 284 # instead of TCL_BUILD_LIB_SPEC since it will work with both an |
| 285 # installed and uninstalled version of Tcl. | 285 # installed and uninstalled version of Tcl. |
| 286 if test -f "${TCL_BIN_DIR}/Makefile" ; then | 286 if test -f "${TCL_BIN_DIR}/Makefile" ; then |
| 287 TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} | 287 TCL_LIB_SPEC=${TCL_BUILD_LIB_SPEC} |
| 288 TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} | 288 TCL_STUB_LIB_SPEC=${TCL_BUILD_STUB_LIB_SPEC} |
| 289 TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} | 289 TCL_STUB_LIB_PATH=${TCL_BUILD_STUB_LIB_PATH} |
| 290 elif test "`uname -s`" = "Darwin"; then | 290 elif test "`uname -s`" = "Darwin"; then |
| 291 # If Tcl was built as a framework, attempt to use the libraries | 291 # If Tcl was built as a framework, attempt to use the libraries |
| 292 # from the framework at the given location so that linking works | 292 # from the framework at the given location so that linking works |
| 293 » # against Tcl.framework installed in an arbitary location. | 293 » # against Tcl.framework installed in an arbitrary location. |
| 294 case ${TCL_DEFS} in | 294 case ${TCL_DEFS} in |
| 295 *TCL_FRAMEWORK*) | 295 *TCL_FRAMEWORK*) |
| 296 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then | 296 if test -f "${TCL_BIN_DIR}/${TCL_LIB_FILE}"; then |
| 297 for i in "`cd ${TCL_BIN_DIR}; pwd`" \ | 297 for i in "`cd ${TCL_BIN_DIR}; pwd`" \ |
| 298 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do | 298 "`cd ${TCL_BIN_DIR}/../..; pwd`"; do |
| 299 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework";
then | 299 if test "`basename "$i"`" = "${TCL_LIB_FILE}.framework";
then |
| 300 TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_
FILE}" | 300 TCL_LIB_SPEC="-F`dirname "$i"` -framework ${TCL_LIB_
FILE}" |
| 301 break | 301 break |
| 302 fi | 302 fi |
| 303 done | 303 done |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC | 366 # of TK_BUILD_LIB_SPEC. An extension should make use of TK_LIB_SPEC |
| 367 # instead of TK_BUILD_LIB_SPEC since it will work with both an | 367 # instead of TK_BUILD_LIB_SPEC since it will work with both an |
| 368 # installed and uninstalled version of Tcl. | 368 # installed and uninstalled version of Tcl. |
| 369 if test -f "${TK_BIN_DIR}/Makefile" ; then | 369 if test -f "${TK_BIN_DIR}/Makefile" ; then |
| 370 TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} | 370 TK_LIB_SPEC=${TK_BUILD_LIB_SPEC} |
| 371 TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} | 371 TK_STUB_LIB_SPEC=${TK_BUILD_STUB_LIB_SPEC} |
| 372 TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} | 372 TK_STUB_LIB_PATH=${TK_BUILD_STUB_LIB_PATH} |
| 373 elif test "`uname -s`" = "Darwin"; then | 373 elif test "`uname -s`" = "Darwin"; then |
| 374 # If Tk was built as a framework, attempt to use the libraries | 374 # If Tk was built as a framework, attempt to use the libraries |
| 375 # from the framework at the given location so that linking works | 375 # from the framework at the given location so that linking works |
| 376 » # against Tk.framework installed in an arbitary location. | 376 » # against Tk.framework installed in an arbitrary location. |
| 377 case ${TK_DEFS} in | 377 case ${TK_DEFS} in |
| 378 *TK_FRAMEWORK*) | 378 *TK_FRAMEWORK*) |
| 379 if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then | 379 if test -f "${TK_BIN_DIR}/${TK_LIB_FILE}"; then |
| 380 for i in "`cd ${TK_BIN_DIR}; pwd`" \ | 380 for i in "`cd ${TK_BIN_DIR}; pwd`" \ |
| 381 "`cd ${TK_BIN_DIR}/../..; pwd`"; do | 381 "`cd ${TK_BIN_DIR}/../..; pwd`"; do |
| 382 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework";
then | 382 if test "`basename "$i"`" = "${TK_LIB_FILE}.framework";
then |
| 383 TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FI
LE}" | 383 TK_LIB_SPEC="-F`dirname "$i"` -framework ${TK_LIB_FI
LE}" |
| 384 break | 384 break |
| 385 fi | 385 fi |
| 386 done | 386 done |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 808 # | 808 # |
| 809 # Results: | 809 # Results: |
| 810 # | 810 # |
| 811 # Adds the following arguments to configure: | 811 # Adds the following arguments to configure: |
| 812 # --enable-man-symlinks | 812 # --enable-man-symlinks |
| 813 # --enable-man-compression=PROG | 813 # --enable-man-compression=PROG |
| 814 # --enable-man-suffix[=STRING] | 814 # --enable-man-suffix[=STRING] |
| 815 # | 815 # |
| 816 # Defines the following variable: | 816 # Defines the following variable: |
| 817 # | 817 # |
| 818 #» MAN_FLAGS -» The apropriate flags for installManPage | 818 #» MAN_FLAGS -» The appropriate flags for installManPage |
| 819 # according to the user's selection. | 819 # according to the user's selection. |
| 820 # | 820 # |
| 821 #-------------------------------------------------------------------- | 821 #-------------------------------------------------------------------- |
| 822 | 822 |
| 823 AC_DEFUN([SC_CONFIG_MANPAGES], [ | 823 AC_DEFUN([SC_CONFIG_MANPAGES], [ |
| 824 AC_MSG_CHECKING([whether to use symlinks for manpages]) | 824 AC_MSG_CHECKING([whether to use symlinks for manpages]) |
| 825 AC_ARG_ENABLE(man-symlinks, | 825 AC_ARG_ENABLE(man-symlinks, |
| 826 [ --enable-man-symlinks use symlinks for the manpages], | 826 [ --enable-man-symlinks use symlinks for the manpages], |
| 827 test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks", | 827 test "$enableval" != "no" && MAN_FLAGS="$MAN_FLAGS --symlinks", |
| 828 enableval="no") | 828 enableval="no") |
| (...skipping 2408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3237 # Requires presence of SC_OUTPUT_COMMANDS_PRE at the end | 3237 # Requires presence of SC_OUTPUT_COMMANDS_PRE at the end |
| 3238 # of configure.in (right before AC_OUTPUT). | 3238 # of configure.in (right before AC_OUTPUT). |
| 3239 # | 3239 # |
| 3240 #-------------------------------------------------------------------- | 3240 #-------------------------------------------------------------------- |
| 3241 | 3241 |
| 3242 AC_DEFUN([SC_CONFIG_COMMANDS_PRE], [ | 3242 AC_DEFUN([SC_CONFIG_COMMANDS_PRE], [ |
| 3243 define([SC_OUTPUT_COMMANDS_PRE], defn([SC_OUTPUT_COMMANDS_PRE])[$1 | 3243 define([SC_OUTPUT_COMMANDS_PRE], defn([SC_OUTPUT_COMMANDS_PRE])[$1 |
| 3244 ])]) | 3244 ])]) |
| 3245 AC_DEFUN([SC_OUTPUT_COMMANDS_PRE]) | 3245 AC_DEFUN([SC_OUTPUT_COMMANDS_PRE]) |
| 3246 | 3246 |
| OLD | NEW |