Mercurial > hg > CbC > CbC_gcc
comparison config/tcl.m4 @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
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 |
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 |
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], [ |
2134 else | 2134 else |
2135 MAKE_LIB='${STLIB_LD} [$]@ ${OBJS} ; ${RANLIB} [$]@' | 2135 MAKE_LIB='${STLIB_LD} [$]@ ${OBJS} ; ${RANLIB} [$]@' |
2136 INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))' | 2136 INSTALL_LIB='$(INSTALL_LIBRARY) $(LIB_FILE) $(LIB_INSTALL_DIR)/$(LIB_FILE) ; (cd $(LIB_INSTALL_DIR) ; $(RANLIB) $(LIB_FILE))' |
2137 fi | 2137 fi |
2138 | 2138 |
2139 dnl Not at all clear what this was doing in Tcl's configure.in | 2139 dnl Not at all clear what this was doing in Tcl's configure.ac |
2140 dnl or why it was needed was needed. In any event, this sort of | 2140 dnl or why it was needed was needed. In any event, this sort of |
2141 dnl things needs to be done in the big loop above. | 2141 dnl things needs to be done in the big loop above. |
2142 dnl REMOVE THIS BLOCK LATER! (mdejong) | 2142 dnl REMOVE THIS BLOCK LATER! (mdejong) |
2143 dnl case $system in | 2143 dnl case $system in |
2144 dnl BSD/OS*) | 2144 dnl BSD/OS*) |
3233 # Replacement for autoconf 2.5x AC_COMMANDS_PRE: | 3233 # Replacement for autoconf 2.5x AC_COMMANDS_PRE: |
3234 # Commands to run right before config.status is | 3234 # Commands to run right before config.status is |
3235 # created. Accumulates. | 3235 # created. Accumulates. |
3236 # | 3236 # |
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.ac (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 |