Allow for PWDCMD to override hardcoded pwd.
This commit is contained in:
parent
328001eea6
commit
6acce4b8bd
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
|
||||||
|
* config-ml.in: Likewise.
|
||||||
|
* configure: Likewise.
|
||||||
|
* configure.in: Likewise.
|
||||||
|
|
||||||
|
config:
|
||||||
|
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
|
||||||
|
|
||||||
2002-05-13 Nathanael Nerode <neroden@twcny.rr.com>
|
2002-05-13 Nathanael Nerode <neroden@twcny.rr.com>
|
||||||
|
|
||||||
* configure.in: Simplify makefile fragment collection.
|
* configure.in: Simplify makefile fragment collection.
|
||||||
|
|
130
Makefile.in
130
Makefile.in
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Makefile for directory with subdirs to build.
|
# Makefile for directory with subdirs to build.
|
||||||
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
||||||
# 1999, 2000, 2001 Free Software Foundation
|
# 1999, 2000, 2001, 2002 Free Software Foundation
|
||||||
#
|
#
|
||||||
# This file is free software; you can redistribute it and/or modify
|
# This file is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -65,6 +65,12 @@ GDB_NLM_DEPS =
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
# pwd command to use. Allow user to override default by setting PWDCMD in
|
||||||
|
# the environment to account for automounters. The make variable must not
|
||||||
|
# be called PWDCMD, otherwise the value set here is passed to make
|
||||||
|
# subprocesses and overrides the setting from the user's environment.
|
||||||
|
PWD = $${PWDCMD-pwd}
|
||||||
|
|
||||||
# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
||||||
# cygwin host.
|
# cygwin host.
|
||||||
INSTALL_PROGRAM_ARGS =
|
INSTALL_PROGRAM_ARGS =
|
||||||
|
@ -984,8 +990,8 @@ DO_X = \
|
||||||
.PHONY: $(DO_X)
|
.PHONY: $(DO_X)
|
||||||
$(DO_X):
|
$(DO_X):
|
||||||
@target=`echo $@ | sed -e 's/^do-//'`; \
|
@target=`echo $@ | sed -e 's/^do-//'`; \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
for i in $(SUBDIRS) -dummy-; do \
|
for i in $(SUBDIRS) -dummy-; do \
|
||||||
if [ -f ./$$i/Makefile ]; then \
|
if [ -f ./$$i/Makefile ]; then \
|
||||||
|
@ -1011,8 +1017,8 @@ $(DO_X):
|
||||||
else true; fi; \
|
else true; fi; \
|
||||||
done
|
done
|
||||||
@target=`echo $@ | sed -e 's/^do-//'`; \
|
@target=`echo $@ | sed -e 's/^do-//'`; \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
for i in $(TARGET_CONFIGDIRS) -dummy-; do \
|
for i in $(TARGET_CONFIGDIRS) -dummy-; do \
|
||||||
if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
|
if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
|
||||||
|
@ -1042,7 +1048,7 @@ dvi: do-dvi
|
||||||
do-info: all-texinfo
|
do-info: all-texinfo
|
||||||
|
|
||||||
install-info: do-install-info dir.info
|
install-info: do-install-info dir.info
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
if [ -f dir.info ] ; then \
|
if [ -f dir.info ] ; then \
|
||||||
$(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
|
||||||
else true ; fi
|
else true ; fi
|
||||||
|
@ -1077,8 +1083,8 @@ realclean: maintainer-clean
|
||||||
$(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
|
$(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
|
||||||
@dir=`echo $@ | sed -e 's/clean-//'`; \
|
@dir=`echo $@ | sed -e 's/clean-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \
|
||||||
else \
|
else \
|
||||||
|
@ -1090,8 +1096,8 @@ $(CLEAN_TARGET_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/clean-target-//'`; \
|
@dir=`echo $@ | sed -e 's/clean-target-//'`; \
|
||||||
rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
|
rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
|
||||||
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \
|
(cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \
|
||||||
else \
|
else \
|
||||||
|
@ -1164,7 +1170,7 @@ vault-install:
|
||||||
.PHONY: install.all
|
.PHONY: install.all
|
||||||
install.all: install-no-fixedincludes
|
install.all: install-no-fixedincludes
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd` ; export r ; \
|
r=`${PWD}` ; export r ; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd ./gcc; \
|
(cd ./gcc; \
|
||||||
$(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
|
$(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
|
||||||
|
@ -1199,8 +1205,8 @@ gcc-no-fixedincludes:
|
||||||
cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
|
cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
|
||||||
touch gcc/stmp-fixinc gcc/include/fixed; \
|
touch gcc/stmp-fixinc gcc/include/fixed; \
|
||||||
rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
|
rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd` ; export s; \
|
s=`cd $(srcdir); ${PWD}` ; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd ./gcc; \
|
(cd ./gcc; \
|
||||||
$(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
$(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
||||||
|
@ -1214,8 +1220,8 @@ gcc-no-fixedincludes:
|
||||||
$(ALL_BUILD_MODULES):
|
$(ALL_BUILD_MODULES):
|
||||||
dir=`echo $@ | sed -e 's/all-build-//'`; \
|
dir=`echo $@ | sed -e 's/all-build-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
(cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); \
|
(cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); \
|
||||||
else \
|
else \
|
||||||
true; \
|
true; \
|
||||||
|
@ -1233,8 +1239,8 @@ $(CONFIGURE_BUILD_MODULES):
|
||||||
elif echo " $(BUILD_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
|
elif echo " $(BUILD_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
|
||||||
if [ -d $(srcdir)/$${dir} ]; then \
|
if [ -d $(srcdir)/$${dir} ]; then \
|
||||||
[ -d $(BUILD_SUBDIR)/$${dir} ] || mkdir $(BUILD_SUBDIR)/$${dir};\
|
[ -d $(BUILD_SUBDIR)/$${dir} ] || mkdir $(BUILD_SUBDIR)/$${dir};\
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
AR="$(AR_FOR_BUILD)"; export AR; \
|
AR="$(AR_FOR_BUILD)"; export AR; \
|
||||||
AS="$(AS_FOR_BUILD)"; export AS; \
|
AS="$(AS_FOR_BUILD)"; export AS; \
|
||||||
CC="$(CC_FOR_BUILD)"; export CC; \
|
CC="$(CC_FOR_BUILD)"; export CC; \
|
||||||
|
@ -1318,8 +1324,8 @@ $(CONFIGURE_BUILD_MODULES):
|
||||||
$(ALL_MODULES) all-gui all-libproc:
|
$(ALL_MODULES) all-gui all-libproc:
|
||||||
@dir=`echo $@ | sed -e 's/all-//'`; \
|
@dir=`echo $@ | sed -e 's/all-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
|
||||||
else \
|
else \
|
||||||
|
@ -1335,8 +1341,8 @@ $(NATIVE_CHECK_MODULES):
|
||||||
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
@if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
|
||||||
dir=`echo $@ | sed -e 's/check-//'`; \
|
dir=`echo $@ | sed -e 's/check-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
|
||||||
else \
|
else \
|
||||||
|
@ -1347,8 +1353,8 @@ $(NATIVE_CHECK_MODULES):
|
||||||
$(CROSS_CHECK_MODULES):
|
$(CROSS_CHECK_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/check-//'`; \
|
@dir=`echo $@ | sed -e 's/check-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
|
||||||
else \
|
else \
|
||||||
|
@ -1361,8 +1367,8 @@ $(CROSS_CHECK_MODULES):
|
||||||
$(INSTALL_MODULES): installdirs
|
$(INSTALL_MODULES): installdirs
|
||||||
@dir=`echo $@ | sed -e 's/install-//'`; \
|
@dir=`echo $@ | sed -e 's/install-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
|
||||||
else \
|
else \
|
||||||
|
@ -1375,7 +1381,7 @@ $(INSTALL_MODULES): installdirs
|
||||||
$(CONFIGURE_TARGET_MODULES):
|
$(CONFIGURE_TARGET_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/configure-target-//'`; \
|
@dir=`echo $@ | sed -e 's/configure-target-//'`; \
|
||||||
if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \
|
if [ -d $(TARGET_SUBDIR)/$${dir} ]; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out 2> /dev/null; \
|
$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/$${dir}/tmpmulti.out 2> /dev/null; \
|
||||||
if [ -s $(TARGET_SUBDIR)/$${dir}/tmpmulti.out ]; then \
|
if [ -s $(TARGET_SUBDIR)/$${dir}/tmpmulti.out ]; then \
|
||||||
if [ -f $(TARGET_SUBDIR)/$${dir}/multilib.out ]; then \
|
if [ -f $(TARGET_SUBDIR)/$${dir}/multilib.out ]; then \
|
||||||
|
@ -1399,8 +1405,8 @@ $(CONFIGURE_TARGET_MODULES):
|
||||||
elif echo " $(TARGET_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
|
elif echo " $(TARGET_CONFIGDIRS) " | grep " $${dir} " >/dev/null 2>&1; then \
|
||||||
if [ -d $(srcdir)/$${dir} ]; then \
|
if [ -d $(srcdir)/$${dir} ]; then \
|
||||||
[ -d $(TARGET_SUBDIR)/$${dir} ] || mkdir $(TARGET_SUBDIR)/$${dir};\
|
[ -d $(TARGET_SUBDIR)/$${dir} ] || mkdir $(TARGET_SUBDIR)/$${dir};\
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
AR="$(AR_FOR_TARGET)"; export AR; \
|
AR="$(AR_FOR_TARGET)"; export AR; \
|
||||||
AS="$(AS_FOR_TARGET)"; export AS; \
|
AS="$(AS_FOR_TARGET)"; export AS; \
|
||||||
|
@ -1481,8 +1487,8 @@ $(CONFIGURE_TARGET_MODULES):
|
||||||
$(ALL_TARGET_MODULES):
|
$(ALL_TARGET_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/all-target-//'`; \
|
@dir=`echo $@ | sed -e 's/all-target-//'`; \
|
||||||
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $(TARGET_SUBDIR)/$${dir}; \
|
(cd $(TARGET_SUBDIR)/$${dir}; \
|
||||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
|
$(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
|
||||||
|
@ -1496,8 +1502,8 @@ $(ALL_TARGET_MODULES):
|
||||||
$(CHECK_TARGET_MODULES):
|
$(CHECK_TARGET_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/check-target-//'`; \
|
@dir=`echo $@ | sed -e 's/check-target-//'`; \
|
||||||
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $(TARGET_SUBDIR)/$${dir}; \
|
(cd $(TARGET_SUBDIR)/$${dir}; \
|
||||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) check);\
|
$(MAKE) $(TARGET_FLAGS_TO_PASS) check);\
|
||||||
|
@ -1512,8 +1518,8 @@ $(CHECK_TARGET_MODULES):
|
||||||
$(INSTALL_TARGET_MODULES): installdirs
|
$(INSTALL_TARGET_MODULES): installdirs
|
||||||
@dir=`echo $@ | sed -e 's/install-target-//'`; \
|
@dir=`echo $@ | sed -e 's/install-target-//'`; \
|
||||||
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $(TARGET_SUBDIR)/$${dir}; \
|
(cd $(TARGET_SUBDIR)/$${dir}; \
|
||||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) install); \
|
$(MAKE) $(TARGET_FLAGS_TO_PASS) install); \
|
||||||
|
@ -1527,8 +1533,8 @@ $(INSTALL_TARGET_MODULES): installdirs
|
||||||
$(ALL_X11_MODULES):
|
$(ALL_X11_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/all-//'`; \
|
@dir=`echo $@ | sed -e 's/all-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; \
|
(cd $${dir}; \
|
||||||
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \
|
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \
|
||||||
|
@ -1542,8 +1548,8 @@ $(ALL_X11_MODULES):
|
||||||
$(CHECK_X11_MODULES):
|
$(CHECK_X11_MODULES):
|
||||||
@dir=`echo $@ | sed -e 's/check-//'`; \
|
@dir=`echo $@ | sed -e 's/check-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; \
|
(cd $${dir}; \
|
||||||
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \
|
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \
|
||||||
|
@ -1557,8 +1563,8 @@ $(CHECK_X11_MODULES):
|
||||||
$(INSTALL_X11_MODULES): installdirs
|
$(INSTALL_X11_MODULES): installdirs
|
||||||
@dir=`echo $@ | sed -e 's/install-//'`; \
|
@dir=`echo $@ | sed -e 's/install-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; \
|
(cd $${dir}; \
|
||||||
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \
|
$(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \
|
||||||
|
@ -1570,8 +1576,8 @@ $(INSTALL_X11_MODULES): installdirs
|
||||||
.PHONY: all-gcc
|
.PHONY: all-gcc
|
||||||
all-gcc:
|
all-gcc:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
|
||||||
else \
|
else \
|
||||||
|
@ -1590,13 +1596,13 @@ all-gcc:
|
||||||
#
|
#
|
||||||
.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean
|
.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean
|
||||||
bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean: all-bootstrap
|
bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean: all-bootstrap
|
||||||
@r=`pwd`; export r; \
|
@r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
echo "Bootstrapping the compiler"; \
|
echo "Bootstrapping the compiler"; \
|
||||||
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
|
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
|
||||||
@r=`pwd`; export r; \
|
@r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
case "$@" in \
|
case "$@" in \
|
||||||
*bootstrap4-lean ) \
|
*bootstrap4-lean ) \
|
||||||
msg="Comparing stage3 and stage4 of the compiler"; \
|
msg="Comparing stage3 and stage4 of the compiler"; \
|
||||||
|
@ -1611,21 +1617,21 @@ bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean b
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
echo "$$msg"; \
|
echo "$$msg"; \
|
||||||
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
|
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
|
||||||
@r=`pwd`; export r; \
|
@r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd` ; export s; \
|
s=`cd $(srcdir); ${PWD}` ; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
echo "Building runtime libraries"; \
|
echo "Building runtime libraries"; \
|
||||||
$(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
|
$(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
|
||||||
|
|
||||||
.PHONY: cross
|
.PHONY: cross
|
||||||
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
|
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
|
||||||
@r=`pwd`; export r; \
|
@r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
echo "Building the C and C++ compiler"; \
|
echo "Building the C and C++ compiler"; \
|
||||||
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
|
cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
|
||||||
@r=`pwd`; export r; \
|
@r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd` ; export s; \
|
s=`cd $(srcdir); ${PWD}` ; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
echo "Building runtime libraries"; \
|
echo "Building runtime libraries"; \
|
||||||
$(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
|
$(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
|
||||||
|
@ -1634,8 +1640,8 @@ cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
|
||||||
.PHONY: check-gcc
|
.PHONY: check-gcc
|
||||||
check-gcc:
|
check-gcc:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
|
||||||
else \
|
else \
|
||||||
|
@ -1645,8 +1651,8 @@ check-gcc:
|
||||||
.PHONY: check-c++
|
.PHONY: check-c++
|
||||||
check-c++:
|
check-c++:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
|
||||||
$(MAKE) check-target-libstdc++-v3; \
|
$(MAKE) check-target-libstdc++-v3; \
|
||||||
|
@ -1657,8 +1663,8 @@ check-c++:
|
||||||
.PHONY: install-gcc
|
.PHONY: install-gcc
|
||||||
install-gcc:
|
install-gcc:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
||||||
else \
|
else \
|
||||||
|
@ -1668,8 +1674,8 @@ install-gcc:
|
||||||
.PHONY: install-gcc-cross
|
.PHONY: install-gcc-cross
|
||||||
install-gcc-cross:
|
install-gcc-cross:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" install); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" install); \
|
||||||
else \
|
else \
|
||||||
|
@ -1682,8 +1688,8 @@ install-gcc-cross:
|
||||||
install-dosrel: installdirs info
|
install-dosrel: installdirs info
|
||||||
@dir=`echo $@ | sed -e 's/install-//'`; \
|
@dir=`echo $@ | sed -e 's/install-//'`; \
|
||||||
if [ -f ./$${dir}/Makefile ] ; then \
|
if [ -f ./$${dir}/Makefile ] ; then \
|
||||||
r=`pwd`; export r; \
|
r=`${PWD}`; export r; \
|
||||||
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); ${PWD}`; export s; \
|
||||||
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
||||||
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
|
||||||
else \
|
else \
|
||||||
|
|
16
config-ml.in
16
config-ml.in
|
@ -510,14 +510,16 @@ multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ]
|
||||||
|
|
||||||
cat > Multi.tem <<\EOF
|
cat > Multi.tem <<\EOF
|
||||||
|
|
||||||
|
PWD=$${PWDCMD-pwd}
|
||||||
|
|
||||||
# FIXME: There should be an @-sign in front of the `if'.
|
# FIXME: There should be an @-sign in front of the `if'.
|
||||||
# Leave out until this is tested a bit more.
|
# Leave out until this is tested a bit more.
|
||||||
multi-do:
|
multi-do:
|
||||||
if [ -z "$(MULTIDIRS)" ]; then \
|
if [ -z "$(MULTIDIRS)" ]; then \
|
||||||
true; \
|
true; \
|
||||||
else \
|
else \
|
||||||
rootpre=`pwd`/; export rootpre; \
|
rootpre=`${PWD}`/; export rootpre; \
|
||||||
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
|
srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
|
||||||
lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
|
lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
|
||||||
compiler="$(CC)"; \
|
compiler="$(CC)"; \
|
||||||
for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
|
for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
|
||||||
|
@ -552,7 +554,7 @@ multi-clean:
|
||||||
if [ -z "$(MULTIDIRS)" ]; then \
|
if [ -z "$(MULTIDIRS)" ]; then \
|
||||||
true; \
|
true; \
|
||||||
else \
|
else \
|
||||||
lib=`pwd | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
|
lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
|
||||||
for dir in Makefile $(MULTIDIRS); do \
|
for dir in Makefile $(MULTIDIRS); do \
|
||||||
if [ -f ../$${dir}/$${lib}/Makefile ]; then \
|
if [ -f ../$${dir}/$${lib}/Makefile ]; then \
|
||||||
if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
|
if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
|
||||||
|
@ -659,10 +661,10 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
|
||||||
|
|
||||||
if [ "${ml_verbose}" = --verbose ]; then
|
if [ "${ml_verbose}" = --verbose ]; then
|
||||||
echo "Running configure in multilib subdirs ${multidirs}"
|
echo "Running configure in multilib subdirs ${multidirs}"
|
||||||
echo "pwd: `pwd`"
|
echo "pwd: `${PWDCMD-pwd}`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ml_origdir=`pwd`
|
ml_origdir=`${PWDCMD-pwd}`
|
||||||
ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'`
|
ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'`
|
||||||
# cd to top-level-build-dir/${with_target_subdir}
|
# cd to top-level-build-dir/${with_target_subdir}
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -671,7 +673,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
|
||||||
|
|
||||||
if [ "${ml_verbose}" = --verbose ]; then
|
if [ "${ml_verbose}" = --verbose ]; then
|
||||||
echo "Running configure in multilib subdir ${ml_dir}"
|
echo "Running configure in multilib subdir ${ml_dir}"
|
||||||
echo "pwd: `pwd`"
|
echo "pwd: `${PWDCMD-pwd}`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d ${ml_dir} ]; then true; else
|
if [ -d ${ml_dir} ]; then true; else
|
||||||
|
@ -699,7 +701,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
|
||||||
|
|
||||||
case ${srcdir} in
|
case ${srcdir} in
|
||||||
".")
|
".")
|
||||||
echo Building symlink tree in `pwd`/${ml_dir}/${ml_libdir}
|
echo Building symlink tree in `${PWDCMD-pwd}`/${ml_dir}/${ml_libdir}
|
||||||
if [ "${with_target_subdir}" != "." ]; then
|
if [ "${with_target_subdir}" != "." ]; then
|
||||||
ml_unsubdir="../"
|
ml_unsubdir="../"
|
||||||
else
|
else
|
||||||
|
|
|
@ -206,7 +206,7 @@ dnl Look for the header file
|
||||||
AC_CACHE_VAL(ac_cv_c_bfdh,[
|
AC_CACHE_VAL(ac_cv_c_bfdh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/bfd/bfd.h" ; then
|
if test -f "$i/bfd/bfd.h" ; then
|
||||||
ac_cv_c_bfdh=`(cd $i/bfd; pwd)`
|
ac_cv_c_bfdh=`(cd $i/bfd; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -224,7 +224,7 @@ AC_MSG_CHECKING(for the bfd library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_bfdlib,[
|
AC_CACHE_VAL(ac_cv_c_bfdlib,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/bfd/Makefile" ; then
|
if test -f "$i/bfd/Makefile" ; then
|
||||||
ac_cv_c_bfdlib=`(cd $i/bfd; pwd)`
|
ac_cv_c_bfdlib=`(cd $i/bfd; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -247,7 +247,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_liberty,[
|
AC_CACHE_VAL(ac_cv_c_liberty,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libiberty/Makefile" ; then
|
if test -f "$i/libiberty/Makefile" ; then
|
||||||
ac_cv_c_liberty=`(cd $i/libiberty; pwd)`
|
ac_cv_c_liberty=`(cd $i/libiberty; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -268,7 +268,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_opc,[
|
AC_CACHE_VAL(ac_cv_c_opc,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/opcodes/Makefile" ; then
|
if test -f "$i/opcodes/Makefile" ; then
|
||||||
ac_cv_c_opc=`(cd $i/opcodes; pwd)`
|
ac_cv_c_opc=`(cd $i/opcodes; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -290,7 +290,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_dejagnu,[
|
AC_CACHE_VAL(ac_cv_c_dejagnu,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$srcdir/$i/ecc/ecc/infra/testlib/current/include/dejagnu.h" ; then
|
if test -f "$srcdir/$i/ecc/ecc/infra/testlib/current/include/dejagnu.h" ; then
|
||||||
ac_cv_c_dejagnu=`(cd $srcdir/$i/ecc/ecc/infra/testlib/current/include; pwd)`
|
ac_cv_c_dejagnu=`(cd $srcdir/$i/ecc/ecc/infra/testlib/current/include; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -303,7 +303,7 @@ fi
|
||||||
AC_CACHE_VAL(ac_cv_c_dejagnulib,[
|
AC_CACHE_VAL(ac_cv_c_dejagnulib,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$srcdir/$i/infra/testlib/current/lib/hostutil.exp" ; then
|
if test -f "$srcdir/$i/infra/testlib/current/lib/hostutil.exp" ; then
|
||||||
ac_cv_c_dejagnulib=`(cd $srcdir/$i/infra/testlib/current/lib; pwd)`
|
ac_cv_c_dejagnulib=`(cd $srcdir/$i/infra/testlib/current/lib; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -316,7 +316,7 @@ AC_MSG_CHECKING(for runtest in the source tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_runtest,[
|
AC_CACHE_VAL(ac_cv_c_runtest,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$srcdir/$i/dejagnu/runtest" ; then
|
if test -f "$srcdir/$i/dejagnu/runtest" ; then
|
||||||
ac_cv_c_runtest=`(cd $srcdir/$i/dejagnu; pwd)`
|
ac_cv_c_runtest=`(cd $srcdir/$i/dejagnu; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -342,7 +342,7 @@ dnl Look for the header file
|
||||||
AC_CACHE_VAL(ac_cv_c_intlh,[
|
AC_CACHE_VAL(ac_cv_c_intlh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/intl/libintl.h" ; then
|
if test -f "$i/intl/libintl.h" ; then
|
||||||
ac_cv_c_intlh=`(cd $i/intl; pwd)`
|
ac_cv_c_intlh=`(cd $i/intl; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -360,7 +360,7 @@ AC_MSG_CHECKING(for the libintl library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_intllib,[
|
AC_CACHE_VAL(ac_cv_c_intllib,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/intl/Makefile" ; then
|
if test -f "$i/intl/Makefile" ; then
|
||||||
ac_cv_c_intllib=`(cd $i/intl; pwd)`
|
ac_cv_c_intllib=`(cd $i/intl; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -388,7 +388,7 @@ AC_MSG_CHECKING(for the simulator header file)
|
||||||
AC_CACHE_VAL(ac_cv_c_simh,[
|
AC_CACHE_VAL(ac_cv_c_simh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/include/remote-sim.h" ; then
|
if test -f "${srcdir}/$i/include/remote-sim.h" ; then
|
||||||
ac_cv_c_simh=`(cd ${srcdir}/$i/include; pwd)`
|
ac_cv_c_simh=`(cd ${srcdir}/$i/include; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -420,7 +420,7 @@ AC_MSG_CHECKING(for the simulator library)
|
||||||
AC_CACHE_VAL(ac_cv_c_simlib,[
|
AC_CACHE_VAL(ac_cv_c_simlib,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/sim/$target_dir/Makefile" ; then
|
if test -f "$i/sim/$target_dir/Makefile" ; then
|
||||||
ac_cv_c_simlib=`(cd $i/sim/$target_dir; pwd)`
|
ac_cv_c_simlib=`(cd $i/sim/$target_dir; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -463,7 +463,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_libib,[
|
AC_CACHE_VAL(ac_cv_c_libib,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libiberty/Makefile" ; then
|
if test -f "$i/libiberty/Makefile" ; then
|
||||||
ac_cv_c_libib=`(cd $i/libiberty/; pwd)`
|
ac_cv_c_libib=`(cd $i/libiberty/; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -483,7 +483,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_devoh,[
|
AC_CACHE_VAL(ac_cv_c_devoh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/include/remote-sim.h" ; then
|
if test -f "${srcdir}/$i/include/remote-sim.h" ; then
|
||||||
ac_cv_c_devoh=`(cd ${srcdir}/$i/include; pwd)`
|
ac_cv_c_devoh=`(cd ${srcdir}/$i/include; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -506,7 +506,7 @@ IDELIB=
|
||||||
AC_CACHE_VAL(ac_cv_c_ideh,[
|
AC_CACHE_VAL(ac_cv_c_ideh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/libide/src/event.h" ; then
|
if test -f "${srcdir}/$i/libide/src/event.h" ; then
|
||||||
ac_cv_c_ideh=`(cd ${srcdir}/$i/libide/src; pwd)`;
|
ac_cv_c_ideh=`(cd ${srcdir}/$i/libide/src; ${PWDCMD-pwd})`;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -521,7 +521,7 @@ AC_MSG_CHECKING(for LIBIDE TCL headers in the source tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_idetclh,[
|
AC_CACHE_VAL(ac_cv_c_idetclh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/libidetcl/src/idetcl.h" ; then
|
if test -f "${srcdir}/$i/libidetcl/src/idetcl.h" ; then
|
||||||
ac_cv_c_idetclh=`(cd ${srcdir}/$i/libidetcl/src; pwd)`;
|
ac_cv_c_idetclh=`(cd ${srcdir}/$i/libidetcl/src; ${PWDCMD-pwd})`;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -536,7 +536,7 @@ AC_MSG_CHECKING(for IDE headers in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_ideh2,[
|
AC_CACHE_VAL(ac_cv_c_ideh2,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libide/src/Makefile" ; then
|
if test -f "$i/libide/src/Makefile" ; then
|
||||||
ac_cv_c_ideh2=`(cd $i/libide/src; pwd)`;
|
ac_cv_c_ideh2=`(cd $i/libide/src; ${PWDCMD-pwd})`;
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -553,7 +553,7 @@ AC_CACHE_VAL(ac_cv_c_idelib,[
|
||||||
if test x"${ac_cv_c_idelib}" = x ; then
|
if test x"${ac_cv_c_idelib}" = x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libide/src/Makefile" ; then
|
if test -f "$i/libide/src/Makefile" ; then
|
||||||
ac_cv_c_idelib=`(cd $i/libide/src; pwd)`
|
ac_cv_c_idelib=`(cd $i/libide/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -571,7 +571,7 @@ AC_CACHE_VAL(ac_cv_c_idetcllib,[
|
||||||
if test x"${ac_cv_c_idetcllib}" = x ; then
|
if test x"${ac_cv_c_idetcllib}" = x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libidetcl/src/Makefile" ; then
|
if test -f "$i/libidetcl/src/Makefile" ; then
|
||||||
ac_cv_c_idetcllib=`(cd $i/libidetcl/src; pwd)`
|
ac_cv_c_idetcllib=`(cd $i/libidetcl/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -597,7 +597,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_iluh,[
|
AC_CACHE_VAL(ac_cv_c_iluh,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/ilu/runtime/kernel/method.h" ; then
|
if test -f "${srcdir}/$i/ilu/runtime/kernel/method.h" ; then
|
||||||
ac_cv_c_iluh=`(cd ${srcdir}/$i/ilu/runtime/kernel; pwd)`
|
ac_cv_c_iluh=`(cd ${srcdir}/$i/ilu/runtime/kernel; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -613,7 +613,7 @@ dirlist=".. ../../ ../../../ ../../../../ ../../../../../ ../../../../../../ ../
|
||||||
AC_CACHE_VAL(ac_cv_c_iluh5,[
|
AC_CACHE_VAL(ac_cv_c_iluh5,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/ilu/runtime/kernel/iluconf.h" ; then
|
if test -f "$i/ilu/runtime/kernel/iluconf.h" ; then
|
||||||
ac_cv_c_iluh5=`(cd $i/ilu/runtime/kernel; pwd)`
|
ac_cv_c_iluh5=`(cd $i/ilu/runtime/kernel; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -628,7 +628,7 @@ AC_MSG_CHECKING(for ILU C++ headers in the source tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_iluh2,[
|
AC_CACHE_VAL(ac_cv_c_iluh2,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/ilu/stubbers/cpp/resource.h" ; then
|
if test -f "${srcdir}/$i/ilu/stubbers/cpp/resource.h" ; then
|
||||||
ac_cv_c_iluh2=`(cd ${srcdir}/$i/ilu/stubbers/cpp; pwd)`
|
ac_cv_c_iluh2=`(cd ${srcdir}/$i/ilu/stubbers/cpp; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -643,7 +643,7 @@ AC_MSG_CHECKING(for ILU C headers)
|
||||||
AC_CACHE_VAL(ac_cv_c_iluh3,[
|
AC_CACHE_VAL(ac_cv_c_iluh3,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/ilu/stubbers/c/resource.h" ; then
|
if test -f "${srcdir}/$i/ilu/stubbers/c/resource.h" ; then
|
||||||
ac_cv_c_iluh3=`(cd ${srcdir}/$i/ilu/stubbers/c ; pwd)`
|
ac_cv_c_iluh3=`(cd ${srcdir}/$i/ilu/stubbers/c ; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -658,7 +658,7 @@ AC_MSG_CHECKING(for ILU C runtime headers)
|
||||||
AC_CACHE_VAL(ac_cv_c_iluh4,[
|
AC_CACHE_VAL(ac_cv_c_iluh4,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "${srcdir}/$i/ilu/runtime/c/ilucstub.h" ; then
|
if test -f "${srcdir}/$i/ilu/runtime/c/ilucstub.h" ; then
|
||||||
ac_cv_c_iluh4=`(cd ${srcdir}/$i/ilu/runtime/c ; pwd)`
|
ac_cv_c_iluh4=`(cd ${srcdir}/$i/ilu/runtime/c ; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
])
|
])
|
||||||
|
@ -672,7 +672,7 @@ fi
|
||||||
AC_CACHE_VAL(ac_cv_c_ilupath,[
|
AC_CACHE_VAL(ac_cv_c_ilupath,[
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/ilu/Makefile" ; then
|
if test -f "$i/ilu/Makefile" ; then
|
||||||
ac_cv_c_ilupath=`(cd $i/ilu; pwd)`
|
ac_cv_c_ilupath=`(cd $i/ilu; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -682,7 +682,7 @@ ILUTOP=${ac_cv_c_ilupath}
|
||||||
AC_MSG_CHECKING(for the ILU library in the build tree)
|
AC_MSG_CHECKING(for the ILU library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_ilulib,[
|
AC_CACHE_VAL(ac_cv_c_ilulib,[
|
||||||
if test -f "$ac_cv_c_ilupath/runtime/kernel/Makefile" ; then
|
if test -f "$ac_cv_c_ilupath/runtime/kernel/Makefile" ; then
|
||||||
ac_cv_c_ilulib=`(cd $ac_cv_c_ilupath/runtime/kernel; pwd)`
|
ac_cv_c_ilulib=`(cd $ac_cv_c_ilupath/runtime/kernel; ${PWDCMD-pwd})`
|
||||||
AC_MSG_RESULT(found ${ac_cv_c_ilulib}/libilu.a)
|
AC_MSG_RESULT(found ${ac_cv_c_ilulib}/libilu.a)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
@ -691,7 +691,7 @@ fi])
|
||||||
AC_MSG_CHECKING(for the ILU C++ bindings library in the build tree)
|
AC_MSG_CHECKING(for the ILU C++ bindings library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_ilulib2,[
|
AC_CACHE_VAL(ac_cv_c_ilulib2,[
|
||||||
if test -f "$ac_cv_c_ilupath/runtime/cpp/Makefile" ; then
|
if test -f "$ac_cv_c_ilupath/runtime/cpp/Makefile" ; then
|
||||||
ac_cv_c_ilulib2=`(cd $ac_cv_c_ilupath/runtime/cpp; pwd)`
|
ac_cv_c_ilulib2=`(cd $ac_cv_c_ilupath/runtime/cpp; ${PWDCMD-pwd})`
|
||||||
AC_MSG_RESULT(found ${ac_cv_c_ilulib2}/libilu-c++.a)
|
AC_MSG_RESULT(found ${ac_cv_c_ilulib2}/libilu-c++.a)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
@ -700,7 +700,7 @@ fi])
|
||||||
AC_MSG_CHECKING(for the ILU C bindings library in the build tree)
|
AC_MSG_CHECKING(for the ILU C bindings library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_ilulib3,[
|
AC_CACHE_VAL(ac_cv_c_ilulib3,[
|
||||||
if test -f "$ac_cv_c_ilupath/runtime/c/Makefile" ; then
|
if test -f "$ac_cv_c_ilupath/runtime/c/Makefile" ; then
|
||||||
ac_cv_c_ilulib3=`(cd $ac_cv_c_ilupath/runtime/c; pwd)`
|
ac_cv_c_ilulib3=`(cd $ac_cv_c_ilupath/runtime/c; ${PWDCMD-pwd})`
|
||||||
AC_MSG_RESULT(found ${ac_cv_c_ilulib3}/libilu-c.a)
|
AC_MSG_RESULT(found ${ac_cv_c_ilulib3}/libilu-c.a)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
@ -709,7 +709,7 @@ fi])
|
||||||
AC_MSG_CHECKING(for the ILU Tk bindings library in the build tree)
|
AC_MSG_CHECKING(for the ILU Tk bindings library in the build tree)
|
||||||
AC_CACHE_VAL(ac_cv_c_ilulib4,[
|
AC_CACHE_VAL(ac_cv_c_ilulib4,[
|
||||||
if test -f "$ac_cv_c_ilupath/runtime/mainloop/Makefile" ; then
|
if test -f "$ac_cv_c_ilupath/runtime/mainloop/Makefile" ; then
|
||||||
ac_cv_c_ilulib4=`(cd $ac_cv_c_ilupath/runtime/mainloop; pwd)`
|
ac_cv_c_ilulib4=`(cd $ac_cv_c_ilupath/runtime/mainloop; ${PWDCMD-pwd})`
|
||||||
AC_MSG_RESULT(found ${ac_cv_c_ilulib4}/libilu-tk.a)
|
AC_MSG_RESULT(found ${ac_cv_c_ilulib4}/libilu-tk.a)
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
|
@ -858,9 +858,9 @@ AC_CACHE_VAL(ac_cv_c_tclh,[
|
||||||
dnl first check to see if --with-tclinclude was specified
|
dnl first check to see if --with-tclinclude was specified
|
||||||
if test x"${with_tclinclude}" != x ; then
|
if test x"${with_tclinclude}" != x ; then
|
||||||
if test -f ${with_tclinclude}/tcl.h ; then
|
if test -f ${with_tclinclude}/tcl.h ; then
|
||||||
ac_cv_c_tclh=`(cd ${with_tclinclude}; pwd)`
|
ac_cv_c_tclh=`(cd ${with_tclinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_tclinclude}/generic/tcl.h ; then
|
elif test -f ${with_tclinclude}/generic/tcl.h ; then
|
||||||
ac_cv_c_tclh=`(cd ${with_tclinclude}/generic; pwd)`
|
ac_cv_c_tclh=`(cd ${with_tclinclude}/generic; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tclinclude} directory doesn't contain headers])
|
AC_MSG_ERROR([${with_tclinclude} directory doesn't contain headers])
|
||||||
fi
|
fi
|
||||||
|
@ -870,7 +870,7 @@ dnl next check if it came with Tcl configuration file
|
||||||
if test x"${ac_cv_c_tclconfig}" != x ; then
|
if test x"${ac_cv_c_tclconfig}" != x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f $ac_cv_c_tclconfig/$i/generic/tcl.h ; then
|
if test -f $ac_cv_c_tclconfig/$i/generic/tcl.h ; then
|
||||||
ac_cv_c_tclh=`(cd $ac_cv_c_tclconfig/$i/generic; pwd)`
|
ac_cv_c_tclh=`(cd $ac_cv_c_tclconfig/$i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -891,7 +891,7 @@ if test x"${ac_cv_c_tclh}" = x ; then
|
||||||
dnl might be multiple version of Tcl, and we want the most recent one.
|
dnl might be multiple version of Tcl, and we want the most recent one.
|
||||||
for i in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do
|
for i in `ls -dr $tclpath/tcl* 2>/dev/null ` ; do
|
||||||
if test -f $i/generic/tcl.h ; then
|
if test -f $i/generic/tcl.h ; then
|
||||||
ac_cv_c_tclh=`(cd $i/generic; pwd)`
|
ac_cv_c_tclh=`(cd $i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -950,7 +950,7 @@ if test x"${no_tcl}" = x ; then
|
||||||
dnl First check to see if --with-tclconfig was specified.
|
dnl First check to see if --with-tclconfig was specified.
|
||||||
if test x"${with_tclconfig}" != x ; then
|
if test x"${with_tclconfig}" != x ; then
|
||||||
if test -f "${with_tclconfig}/tclConfig.sh" ; then
|
if test -f "${with_tclconfig}/tclConfig.sh" ; then
|
||||||
ac_cv_c_tclconfig=`(cd ${with_tclconfig}; pwd)`
|
ac_cv_c_tclconfig=`(cd ${with_tclconfig}; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tclconfig} directory doesn't contain tclConfig.sh])
|
AC_MSG_ERROR([${with_tclconfig} directory doesn't contain tclConfig.sh])
|
||||||
fi
|
fi
|
||||||
|
@ -963,11 +963,11 @@ if test x"${no_tcl}" = x ; then
|
||||||
dnl cygwin's tkConfig.sh could be in either directory depending
|
dnl cygwin's tkConfig.sh could be in either directory depending
|
||||||
dnl on the cygwin port of tcl.
|
dnl on the cygwin port of tcl.
|
||||||
if test -f $srcdir/$i/unix/tclConfig.sh ; then
|
if test -f $srcdir/$i/unix/tclConfig.sh ; then
|
||||||
ac_cv_c_tclconfig=`(cd $srcdir/$i/unix; pwd)`
|
ac_cv_c_tclconfig=`(cd $srcdir/$i/unix; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if test -f $srcdir/$i/win/tclConfig.sh ; then
|
if test -f $srcdir/$i/win/tclConfig.sh ; then
|
||||||
ac_cv_c_tclconfig=`(cd $srcdir/$i/win; pwd)`
|
ac_cv_c_tclconfig=`(cd $srcdir/$i/win; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -989,11 +989,11 @@ if test x"${no_tcl}" = x ; then
|
||||||
dnl cygwin's tclConfig.sh could be in either directory depending
|
dnl cygwin's tclConfig.sh could be in either directory depending
|
||||||
dnl on the cygwin port of tcl.
|
dnl on the cygwin port of tcl.
|
||||||
if test -f $i/unix/tclConfig.sh ; then
|
if test -f $i/unix/tclConfig.sh ; then
|
||||||
ac_cv_c_tclconfig=`(cd $i/unix; pwd)`
|
ac_cv_c_tclconfig=`(cd $i/unix; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if test -f $i/win/tclConfig.sh ; then
|
if test -f $i/win/tclConfig.sh ; then
|
||||||
ac_cv_c_tclconfig=`(cd $i/win; pwd)`
|
ac_cv_c_tclconfig=`(cd $i/win; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1097,9 +1097,9 @@ AC_CACHE_VAL(ac_cv_c_tkh,[
|
||||||
dnl first check to see if --with-tkinclude was specified
|
dnl first check to see if --with-tkinclude was specified
|
||||||
if test x"${with_tkinclude}" != x ; then
|
if test x"${with_tkinclude}" != x ; then
|
||||||
if test -f ${with_tkinclude}/tk.h ; then
|
if test -f ${with_tkinclude}/tk.h ; then
|
||||||
ac_cv_c_tkh=`(cd ${with_tkinclude}; pwd)`
|
ac_cv_c_tkh=`(cd ${with_tkinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_tkinclude}/generic/tk.h ; then
|
elif test -f ${with_tkinclude}/generic/tk.h ; then
|
||||||
ac_cv_c_tkh=`(cd ${with_tkinclude}/generic; pwd)`
|
ac_cv_c_tkh=`(cd ${with_tkinclude}/generic; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tkinclude} directory doesn't contain headers])
|
AC_MSG_ERROR([${with_tkinclude} directory doesn't contain headers])
|
||||||
fi
|
fi
|
||||||
|
@ -1109,7 +1109,7 @@ dnl next check if it came with Tk configuration file
|
||||||
if test x"${ac_cv_c_tkconfig}" != x ; then
|
if test x"${ac_cv_c_tkconfig}" != x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f $ac_cv_c_tkconfig/$i/generic/tk.h ; then
|
if test -f $ac_cv_c_tkconfig/$i/generic/tk.h ; then
|
||||||
ac_cv_c_tkh=`(cd $ac_cv_c_tkconfig/$i/generic; pwd)`
|
ac_cv_c_tkh=`(cd $ac_cv_c_tkconfig/$i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1130,7 +1130,7 @@ if test x"${ac_cv_c_tkh}" = x ; then
|
||||||
dnl might be multiple version of Tk, and we want the most recent one.
|
dnl might be multiple version of Tk, and we want the most recent one.
|
||||||
for i in `ls -dr $tkpath/tk* 2>/dev/null ` ; do
|
for i in `ls -dr $tkpath/tk* 2>/dev/null ` ; do
|
||||||
if test -f $i/generic/tk.h ; then
|
if test -f $i/generic/tk.h ; then
|
||||||
ac_cv_c_tkh=`(cd $i/generic; pwd)`
|
ac_cv_c_tkh=`(cd $i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1183,7 +1183,7 @@ if test x"${no_tk}" = x ; then
|
||||||
dnl First check to see if --with-tkconfig was specified.
|
dnl First check to see if --with-tkconfig was specified.
|
||||||
if test x"${with_tkconfig}" != x ; then
|
if test x"${with_tkconfig}" != x ; then
|
||||||
if test -f "${with_tkconfig}/tkConfig.sh" ; then
|
if test -f "${with_tkconfig}/tkConfig.sh" ; then
|
||||||
ac_cv_c_tkconfig=`(cd ${with_tkconfig}; pwd)`
|
ac_cv_c_tkconfig=`(cd ${with_tkconfig}; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tkconfig} directory doesn't contain tkConfig.sh])
|
AC_MSG_ERROR([${with_tkconfig} directory doesn't contain tkConfig.sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1196,11 +1196,11 @@ if test x"${no_tk}" = x ; then
|
||||||
dnl cygwin's tkConfig.sh could be in either directory depending
|
dnl cygwin's tkConfig.sh could be in either directory depending
|
||||||
dnl on the cygwin port of tk.
|
dnl on the cygwin port of tk.
|
||||||
if test -f $srcdir/$i/unix/tkConfig.sh ; then
|
if test -f $srcdir/$i/unix/tkConfig.sh ; then
|
||||||
ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; pwd)`
|
ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if test -f $srcdir/$i/win/tkConfig.sh ; then
|
if test -f $srcdir/$i/win/tkConfig.sh ; then
|
||||||
ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; pwd)`
|
ac_cv_c_tkconfig=`(cd $srcdir/$i/unix; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1222,11 +1222,11 @@ if test x"${no_tk}" = x ; then
|
||||||
dnl cygwin's tkConfig.sh could be in either directory depending
|
dnl cygwin's tkConfig.sh could be in either directory depending
|
||||||
dnl on the cygwin port of tk.
|
dnl on the cygwin port of tk.
|
||||||
if test -f $i/unix/tkConfig.sh ; then
|
if test -f $i/unix/tkConfig.sh ; then
|
||||||
ac_cv_c_tkconfig=`(cd $i/unix; pwd)`
|
ac_cv_c_tkconfig=`(cd $i/unix; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
if test -f $i/win/tkConfig.sh ; then
|
if test -f $i/win/tkConfig.sh ; then
|
||||||
ac_cv_c_tkconfig=`(cd $i/win; pwd)`
|
ac_cv_c_tkconfig=`(cd $i/win; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1302,9 +1302,9 @@ AC_CACHE_VAL(ac_cv_c_itclh,[
|
||||||
dnl first check to see if --with-itclinclude was specified
|
dnl first check to see if --with-itclinclude was specified
|
||||||
if test x"${with_itclinclude}" != x ; then
|
if test x"${with_itclinclude}" != x ; then
|
||||||
if test -f ${with_itclinclude}/itcl.h ; then
|
if test -f ${with_itclinclude}/itcl.h ; then
|
||||||
ac_cv_c_itclh=`(cd ${with_itclinclude}; pwd)`
|
ac_cv_c_itclh=`(cd ${with_itclinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_itclinclude}/src/itcl.h ; then
|
elif test -f ${with_itclinclude}/src/itcl.h ; then
|
||||||
ac_cv_c_itclh=`(cd ${with_itclinclude}/src; pwd)`
|
ac_cv_c_itclh=`(cd ${with_itclinclude}/src; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain headers])
|
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain headers])
|
||||||
fi
|
fi
|
||||||
|
@ -1314,7 +1314,7 @@ dnl next check if it came with Itcl configuration file
|
||||||
if test x"${ac_cv_c_itclconfig}" != x ; then
|
if test x"${ac_cv_c_itclconfig}" != x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f $ac_cv_c_itclconfig/$i/src/itcl.h ; then
|
if test -f $ac_cv_c_itclconfig/$i/src/itcl.h ; then
|
||||||
ac_cv_c_itclh=`(cd $ac_cv_c_itclconfig/$i/src; pwd)`
|
ac_cv_c_itclh=`(cd $ac_cv_c_itclconfig/$i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1335,7 +1335,7 @@ if test x"${ac_cv_c_itclh}" = x ; then
|
||||||
dnl might be multiple version of Itcl, and we want the most recent one.
|
dnl might be multiple version of Itcl, and we want the most recent one.
|
||||||
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
||||||
if test -f $i/src/itcl.h ; then
|
if test -f $i/src/itcl.h ; then
|
||||||
ac_cv_c_itclh=`(cd $i/src; pwd)`
|
ac_cv_c_itclh=`(cd $i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1380,10 +1380,10 @@ if test x"${no_itcl}" = x ; then
|
||||||
dnl First check to see if --with-itcllib was specified.
|
dnl First check to see if --with-itcllib was specified.
|
||||||
if test x"${with_itcllib}" != x ; then
|
if test x"${with_itcllib}" != x ; then
|
||||||
if test -f "${with_itcllib}/libitcl$TCL_SHARED_LIB_SUFFIX" ; then
|
if test -f "${with_itcllib}/libitcl$TCL_SHARED_LIB_SUFFIX" ; then
|
||||||
ac_cv_c_itcllib=`(cd ${with_itcllib}; pwd)`/libitcl$TCL_SHARED_LIB_SUFFIX
|
ac_cv_c_itcllib=`(cd ${with_itcllib}; ${PWDCMD-pwd})`/libitcl$TCL_SHARED_LIB_SUFFIX
|
||||||
else
|
else
|
||||||
if test -f "${with_itcllib}/libitcl$TCL_UNSHARED_LIB_SUFFIX"; then
|
if test -f "${with_itcllib}/libitcl$TCL_UNSHARED_LIB_SUFFIX"; then
|
||||||
ac_cv_c_itcllib=`(cd ${with_itcllib}; pwd)`/libitcl$TCL_UNSHARED_LIB_SUFFIX
|
ac_cv_c_itcllib=`(cd ${with_itcllib}; ${PWDCMD-pwd})`/libitcl$TCL_UNSHARED_LIB_SUFFIX
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1399,9 +1399,9 @@ if test x"${no_itcl}" = x ; then
|
||||||
done
|
done
|
||||||
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
||||||
if test -f "$itclpath/src/libitcl.$TCL_SHLIB_SUFFIX" ; then
|
if test -f "$itclpath/src/libitcl.$TCL_SHLIB_SUFFIX" ; then
|
||||||
ac_cv_c_itcllib=`(cd $itclpath/src; pwd)`
|
ac_cv_c_itcllib=`(cd $itclpath/src; ${PWDCMD-pwd})`
|
||||||
elif test -f "$itclpath/src/libitcl.a"; then
|
elif test -f "$itclpath/src/libitcl.a"; then
|
||||||
ac_cv_c_itcllib=`(cd $itclpath/src; pwd)`
|
ac_cv_c_itcllib=`(cd $itclpath/src; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
dnl check in a few other private locations
|
dnl check in a few other private locations
|
||||||
|
@ -1415,10 +1415,10 @@ if test x"${no_itcl}" = x ; then
|
||||||
for i in `ls -dr ${itclpath}/itcl* 2>/dev/null` ; do
|
for i in `ls -dr ${itclpath}/itcl* 2>/dev/null` ; do
|
||||||
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
||||||
if test -f "$i/src/libitcl$TCL_SHLIB_SUFFIX" ; then
|
if test -f "$i/src/libitcl$TCL_SHLIB_SUFFIX" ; then
|
||||||
ac_cv_c_itcllib=`(cd $i/src; pwd)`
|
ac_cv_c_itcllib=`(cd $i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
elif test -f "$i/src/libitcl.a"; then
|
elif test -f "$i/src/libitcl.a"; then
|
||||||
ac_cv_c_itcllib=`(cd $i/src; pwd)`
|
ac_cv_c_itcllib=`(cd $i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1430,9 +1430,9 @@ if test x"${no_itcl}" = x ; then
|
||||||
ccpath=`which ${CC} | sed -e 's:/bin/.*::'`/lib
|
ccpath=`which ${CC} | sed -e 's:/bin/.*::'`/lib
|
||||||
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
||||||
if test -f "${ccpath}/libitcl$TCL_SHLIB_SUFFIX" ; then
|
if test -f "${ccpath}/libitcl$TCL_SHLIB_SUFFIX" ; then
|
||||||
ac_cv_c_itcllib=`(cd ${ccpath}; pwd)`
|
ac_cv_c_itcllib=`(cd ${ccpath}; ${PWDCMD-pwd})`
|
||||||
elif test -f "${ccpath}/libitcl.a"; then
|
elif test -f "${ccpath}/libitcl.a"; then
|
||||||
ac_cv_c_itcllib=`(cd ${ccpath}; pwd)`
|
ac_cv_c_itcllib=`(cd ${ccpath}; ${PWDCMD-pwd})`
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
@ -1463,9 +1463,9 @@ AC_CACHE_VAL(ac_cv_c_itclsh,[
|
||||||
dnl first check to see if --with-itclinclude was specified
|
dnl first check to see if --with-itclinclude was specified
|
||||||
if test x"${with_itclinclude}" != x ; then
|
if test x"${with_itclinclude}" != x ; then
|
||||||
if test -f ${with_itclinclude}/itcl_sh ; then
|
if test -f ${with_itclinclude}/itcl_sh ; then
|
||||||
ac_cv_c_itclsh=`(cd ${with_itclinclude}; pwd)`
|
ac_cv_c_itclsh=`(cd ${with_itclinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_itclinclude}/src/itcl_sh ; then
|
elif test -f ${with_itclinclude}/src/itcl_sh ; then
|
||||||
ac_cv_c_itclsh=`(cd ${with_itclinclude}/src; pwd)`
|
ac_cv_c_itclsh=`(cd ${with_itclinclude}/src; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain itcl_sh])
|
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain itcl_sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1486,7 +1486,7 @@ if test x"${ac_cv_c_itclsh}" = x ; then
|
||||||
dnl might be multiple version of Itcl, and we want the most recent one.
|
dnl might be multiple version of Itcl, and we want the most recent one.
|
||||||
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
||||||
if test -f $i/src/itcl_sh ; then
|
if test -f $i/src/itcl_sh ; then
|
||||||
ac_cv_c_itclsh=`(cd $i/src; pwd)`/itcl_sh
|
ac_cv_c_itclsh=`(cd $i/src; ${PWDCMD-pwd})`/itcl_sh
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1525,9 +1525,9 @@ AC_CACHE_VAL(ac_cv_c_itclmkidx,[
|
||||||
dnl first check to see if --with-itclinclude was specified
|
dnl first check to see if --with-itclinclude was specified
|
||||||
if test x"${with_itclinclude}" != x ; then
|
if test x"${with_itclinclude}" != x ; then
|
||||||
if test -f ${with_itclinclude}/itcl_sh ; then
|
if test -f ${with_itclinclude}/itcl_sh ; then
|
||||||
ac_cv_c_itclmkidx=`(cd ${with_itclinclude}; pwd)`
|
ac_cv_c_itclmkidx=`(cd ${with_itclinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_itclinclude}/src/itcl_sh ; then
|
elif test -f ${with_itclinclude}/src/itcl_sh ; then
|
||||||
ac_cv_c_itclmkidx=`(cd ${with_itclinclude}/src; pwd)`
|
ac_cv_c_itclmkidx=`(cd ${with_itclinclude}/src; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain itcl_sh])
|
AC_MSG_ERROR([${with_itclinclude} directory doesn't contain itcl_sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1548,7 +1548,7 @@ if test x"${ac_cv_c_itclmkidx}" = x ; then
|
||||||
dnl might be multiple version of Itcl, and we want the most recent one.
|
dnl might be multiple version of Itcl, and we want the most recent one.
|
||||||
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
for i in `ls -dr $itclpath/itcl* 2>/dev/null ` ; do
|
||||||
if test -f $i/library/itcl_mkindex.tcl ; then
|
if test -f $i/library/itcl_mkindex.tcl ; then
|
||||||
ac_cv_c_itclmkidx=`(cd $i/library; pwd)`/itcl_mkindex.tcl
|
ac_cv_c_itclmkidx=`(cd $i/library; ${PWDCMD-pwd})`/itcl_mkindex.tcl
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1559,7 +1559,7 @@ if test x"${ac_cv_c_itclmkidx}" = x ; then
|
||||||
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
dnl Itcl 7.5 and greater puts library in subdir. Look there first.
|
||||||
for i in `ls -dr $ccpath/itcl* 2>/dev/null ` ; do
|
for i in `ls -dr $ccpath/itcl* 2>/dev/null ` ; do
|
||||||
if test -f $i/itcl_mkindex.tcl ; then
|
if test -f $i/itcl_mkindex.tcl ; then
|
||||||
ac_cv_c_itclmkidx=`(cd $i; pwd)`/itcl_mkindex.tcl
|
ac_cv_c_itclmkidx=`(cd $i; ${PWDCMD-pwd})`/itcl_mkindex.tcl
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1595,9 +1595,9 @@ AC_CACHE_VAL(ac_cv_c_tixh,[
|
||||||
dnl first check to see if --with-tixinclude was specified
|
dnl first check to see if --with-tixinclude was specified
|
||||||
if test x"${with_tixinclude}" != x ; then
|
if test x"${with_tixinclude}" != x ; then
|
||||||
if test -f ${with_tixinclude}/tix.h ; then
|
if test -f ${with_tixinclude}/tix.h ; then
|
||||||
ac_cv_c_tixh=`(cd ${with_tixinclude}; pwd)`
|
ac_cv_c_tixh=`(cd ${with_tixinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_tixinclude}/generic/tix.h ; then
|
elif test -f ${with_tixinclude}/generic/tix.h ; then
|
||||||
ac_cv_c_tixh=`(cd ${with_tixinclude}/generic; pwd)`
|
ac_cv_c_tixh=`(cd ${with_tixinclude}/generic; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tixinclude} directory doesn't contain headers])
|
AC_MSG_ERROR([${with_tixinclude} directory doesn't contain headers])
|
||||||
fi
|
fi
|
||||||
|
@ -1607,7 +1607,7 @@ dnl next check if it came with Tix configuration file
|
||||||
if test x"${ac_cv_c_tixconfig}" != x ; then
|
if test x"${ac_cv_c_tixconfig}" != x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f $ac_cv_c_tixconfig/$i/generic/tix.h ; then
|
if test -f $ac_cv_c_tixconfig/$i/generic/tix.h ; then
|
||||||
ac_cv_c_tixh=`(cd $ac_cv_c_tixconfig/$i/generic; pwd)`
|
ac_cv_c_tixh=`(cd $ac_cv_c_tixconfig/$i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1628,7 +1628,7 @@ if test x"${ac_cv_c_tixh}" = x ; then
|
||||||
dnl might be multiple version of Tix, and we want the most recent one.
|
dnl might be multiple version of Tix, and we want the most recent one.
|
||||||
for i in `ls -dr $tixpath/tix* 2>/dev/null ` ; do
|
for i in `ls -dr $tixpath/tix* 2>/dev/null ` ; do
|
||||||
if test -f $i/generic/tix.h ; then
|
if test -f $i/generic/tix.h ; then
|
||||||
ac_cv_c_tixh=`(cd $i/generic; pwd)`
|
ac_cv_c_tixh=`(cd $i/generic; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1681,7 +1681,7 @@ if test x"${no_tix}" = x ; then
|
||||||
# First check to see if --with-tixconfig was specified.
|
# First check to see if --with-tixconfig was specified.
|
||||||
if test x"${with_tixconfig}" != x ; then
|
if test x"${with_tixconfig}" != x ; then
|
||||||
if test -f "${with_tixconfig}/tixConfig.sh" ; then
|
if test -f "${with_tixconfig}/tixConfig.sh" ; then
|
||||||
ac_cv_c_tixconfig=`(cd ${with_tixconfig}; pwd)`
|
ac_cv_c_tixconfig=`(cd ${with_tixconfig}; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_tixconfig} directory doesn't contain tixConfig.sh])
|
AC_MSG_ERROR([${with_tixconfig} directory doesn't contain tixConfig.sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1697,7 +1697,7 @@ if test x"${no_tix}" = x ; then
|
||||||
../../../tix \
|
../../../tix \
|
||||||
`ls -dr ../../../tix[[4]]* 2>/dev/null` ; do
|
`ls -dr ../../../tix[[4]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/tixConfig.sh" ; then
|
if test -f "$i/tixConfig.sh" ; then
|
||||||
ac_cv_c_tixconfig=`(cd $i; pwd)`
|
ac_cv_c_tixconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1706,7 +1706,7 @@ if test x"${no_tix}" = x ; then
|
||||||
if test x"${ac_cv_c_tixconfig}" = x ; then
|
if test x"${ac_cv_c_tixconfig}" = x ; then
|
||||||
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
||||||
if test -f "$i/tixConfig.sh" ; then
|
if test -f "$i/tixConfig.sh" ; then
|
||||||
ac_cv_c_tkconfig=`(cd $i; pwd)`
|
ac_cv_c_tkconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1717,7 +1717,7 @@ if test x"${no_tix}" = x ; then
|
||||||
${srcdir}/../tix \
|
${srcdir}/../tix \
|
||||||
`ls -dr ${srcdir}/../tix[[4-9]]* 2>/dev/null` ; do
|
`ls -dr ${srcdir}/../tix[[4-9]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/tixConfig.sh" ; then
|
if test -f "$i/tixConfig.sh" ; then
|
||||||
ac_cv_c_tixconfig=`(cd $i; pwd)`
|
ac_cv_c_tixconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1764,7 +1764,7 @@ if test x"${no_itcl}" = x ; then
|
||||||
# First check to see if --with-itclconfig was specified.
|
# First check to see if --with-itclconfig was specified.
|
||||||
if test x"${with_itclconfig}" != x ; then
|
if test x"${with_itclconfig}" != x ; then
|
||||||
if test -f "${with_itclconfig}/itclConfig.sh" ; then
|
if test -f "${with_itclconfig}/itclConfig.sh" ; then
|
||||||
ac_cv_c_itclconfig=`(cd ${with_itclconfig}; pwd)`
|
ac_cv_c_itclconfig=`(cd ${with_itclconfig}; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_itclconfig} directory doesn't contain itclConfig.sh])
|
AC_MSG_ERROR([${with_itclconfig} directory doesn't contain itclConfig.sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1780,7 +1780,7 @@ if test x"${no_itcl}" = x ; then
|
||||||
../../../itcl/itcl \
|
../../../itcl/itcl \
|
||||||
`ls -dr ../../../itcl/itcl[[3]]* 2>/dev/null` ; do
|
`ls -dr ../../../itcl/itcl[[3]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/itclConfig.sh" ; then
|
if test -f "$i/itclConfig.sh" ; then
|
||||||
ac_cv_c_itclconfig=`(cd $i; pwd)`
|
ac_cv_c_itclconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1789,7 +1789,7 @@ if test x"${no_itcl}" = x ; then
|
||||||
if test x"${ac_cv_c_itclconfig}" = x ; then
|
if test x"${ac_cv_c_itclconfig}" = x ; then
|
||||||
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
||||||
if test -f "$i/itclConfig.sh" ; then
|
if test -f "$i/itclConfig.sh" ; then
|
||||||
ac_cv_c_itclconfig=`(cd $i; pwd)`
|
ac_cv_c_itclconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1800,7 +1800,7 @@ if test x"${no_itcl}" = x ; then
|
||||||
${srcdir}/../itcl/itcl \
|
${srcdir}/../itcl/itcl \
|
||||||
`ls -dr ${srcdir}/../itcl/itcl[[3]]* 2>/dev/null` ; do
|
`ls -dr ${srcdir}/../itcl/itcl[[3]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/itcl/itclConfig.sh" ; then
|
if test -f "$i/itcl/itclConfig.sh" ; then
|
||||||
ac_cv_c_itclconfig=`(cd $i; pwd)`
|
ac_cv_c_itclconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1851,7 +1851,7 @@ if test x"${no_itk}" = x ; then
|
||||||
# First check to see if --with-itkconfig was specified.
|
# First check to see if --with-itkconfig was specified.
|
||||||
if test x"${with_itkconfig}" != x ; then
|
if test x"${with_itkconfig}" != x ; then
|
||||||
if test -f "${with_itkconfig}/itkConfig.sh" ; then
|
if test -f "${with_itkconfig}/itkConfig.sh" ; then
|
||||||
ac_cv_c_itkconfig=`(cd ${with_itkconfig}; pwd)`
|
ac_cv_c_itkconfig=`(cd ${with_itkconfig}; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_itkconfig} directory doesn't contain itkConfig.sh])
|
AC_MSG_ERROR([${with_itkconfig} directory doesn't contain itkConfig.sh])
|
||||||
fi
|
fi
|
||||||
|
@ -1867,7 +1867,7 @@ if test x"${no_itk}" = x ; then
|
||||||
../../../itcl/itk \
|
../../../itcl/itk \
|
||||||
`ls -dr ../../../itcl/itk[[3]]* 2>/dev/null` ; do
|
`ls -dr ../../../itcl/itk[[3]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/itkConfig.sh" ; then
|
if test -f "$i/itkConfig.sh" ; then
|
||||||
ac_cv_c_itkconfig=`(cd $i; pwd)`
|
ac_cv_c_itkconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1876,7 +1876,7 @@ if test x"${no_itk}" = x ; then
|
||||||
if test x"${ac_cv_c_itkconfig}" = x ; then
|
if test x"${ac_cv_c_itkconfig}" = x ; then
|
||||||
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
for i in `ls -d ${prefix}/lib /usr/local/lib 2>/dev/null` ; do
|
||||||
if test -f "$i/itcl/itkConfig.sh" ; then
|
if test -f "$i/itcl/itkConfig.sh" ; then
|
||||||
ac_cv_c_itkconfig=`(cd $i; pwd)`
|
ac_cv_c_itkconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1887,7 +1887,7 @@ if test x"${no_itk}" = x ; then
|
||||||
${srcdir}/../itcl/itk \
|
${srcdir}/../itcl/itk \
|
||||||
`ls -dr ${srcdir}/../itcl/itk[[3]]* 2>/dev/null` ; do
|
`ls -dr ${srcdir}/../itcl/itk[[3]]* 2>/dev/null` ; do
|
||||||
if test -f "$i/itkConfig.sh" ; then
|
if test -f "$i/itkConfig.sh" ; then
|
||||||
ac_cv_c_itkconfig=`(cd $i; pwd)`
|
ac_cv_c_itkconfig=`(cd $i; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1934,9 +1934,9 @@ AC_CACHE_VAL(ac_cv_c_libguih,[
|
||||||
dnl first check to see if --with-libguiinclude was specified
|
dnl first check to see if --with-libguiinclude was specified
|
||||||
if test x"${with_libguiinclude}" != x ; then
|
if test x"${with_libguiinclude}" != x ; then
|
||||||
if test -f ${with_libguiinclude}/guitcl.h ; then
|
if test -f ${with_libguiinclude}/guitcl.h ; then
|
||||||
ac_cv_c_libguih=`(cd ${with_libguiinclude}; pwd)`
|
ac_cv_c_libguih=`(cd ${with_libguiinclude}; ${PWDCMD-pwd})`
|
||||||
elif test -f ${with_libguiinclude}/src/guitcl.h ; then
|
elif test -f ${with_libguiinclude}/src/guitcl.h ; then
|
||||||
ac_cv_c_libguih=`(cd ${with_libguiinclude}/src; pwd)`
|
ac_cv_c_libguih=`(cd ${with_libguiinclude}/src; ${PWDCMD-pwd})`
|
||||||
else
|
else
|
||||||
AC_MSG_ERROR([${with_libguiinclude} directory doesn't contain headers])
|
AC_MSG_ERROR([${with_libguiinclude} directory doesn't contain headers])
|
||||||
fi
|
fi
|
||||||
|
@ -1946,7 +1946,7 @@ dnl next check if it came with Libgui configuration file
|
||||||
if test x"${ac_cv_c_libguiconfig}" != x ; then
|
if test x"${ac_cv_c_libguiconfig}" != x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f $ac_cv_c_libguiconfig/$i/src/guitcl.h ; then
|
if test -f $ac_cv_c_libguiconfig/$i/src/guitcl.h ; then
|
||||||
ac_cv_c_libguih=`(cd $ac_cv_c_libguiconfig/$i/src; pwd)`
|
ac_cv_c_libguih=`(cd $ac_cv_c_libguiconfig/$i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -1967,7 +1967,7 @@ if test x"${ac_cv_c_libguih}" = x ; then
|
||||||
dnl might be multiple version of Libgui, and we want the most recent one.
|
dnl might be multiple version of Libgui, and we want the most recent one.
|
||||||
for i in `ls -dr $libguipath/libgui* 2>/dev/null ` ; do
|
for i in `ls -dr $libguipath/libgui* 2>/dev/null ` ; do
|
||||||
if test -f $i/src/guitcl.h ; then
|
if test -f $i/src/guitcl.h ; then
|
||||||
ac_cv_c_libguih=`(cd $i/src; pwd)`
|
ac_cv_c_libguih=`(cd $i/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -2004,7 +2004,7 @@ AC_CACHE_VAL(ac_cv_c_libguilib,[
|
||||||
if test x"${ac_cv_c_libguilib}" = x ; then
|
if test x"${ac_cv_c_libguilib}" = x ; then
|
||||||
for i in $dirlist; do
|
for i in $dirlist; do
|
||||||
if test -f "$i/libgui/src/Makefile" ; then
|
if test -f "$i/libgui/src/Makefile" ; then
|
||||||
ac_cv_c_libguilib=`(cd $i/libgui/src; pwd)`
|
ac_cv_c_libguilib=`(cd $i/libgui/src; ${PWDCMD-pwd})`
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
### WARNING: this file contains embedded tabs. Do not run untabify on this file.
|
||||||
|
|
||||||
# Configuration script
|
# Configuration script
|
||||||
# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001
|
# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001,
|
||||||
# Free Software Foundation, Inc.
|
# 2002 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
@ -152,13 +152,13 @@ NO_EDIT="This file was generated automatically by configure. Do not edit."
|
||||||
|
|
||||||
progname=$0
|
progname=$0
|
||||||
# if PWD already has a value, it is probably wrong.
|
# if PWD already has a value, it is probably wrong.
|
||||||
if [ -n "$PWD" ]; then PWD=`pwd`; fi
|
if [ -n "$PWD" ]; then PWD=`${PWDCMD-pwd}`; fi
|
||||||
|
|
||||||
case "${progname}" in
|
case "${progname}" in
|
||||||
/* | [A-Za-z]:[\\/]* ) ;;
|
/* | [A-Za-z]:[\\/]* ) ;;
|
||||||
*/*) ;;
|
*/*) ;;
|
||||||
*)
|
*)
|
||||||
PATH=$PATH:${PWD=`pwd`} ; export PATH
|
PATH=$PATH:${PWD=`${PWDCMD-pwd}`} ; export PATH
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -526,7 +526,7 @@ fi
|
||||||
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
|
configsub=`echo ${progname} | sed 's/configure$/config.sub/'`
|
||||||
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
|
moveifchange=`echo ${progname} | sed 's/configure$/move-if-change/'`
|
||||||
## the sed command below emulates the dirname command
|
## the sed command below emulates the dirname command
|
||||||
topsrcdir=`cd \`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'\`; pwd`
|
topsrcdir=`cd \`echo ${progname} | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'\`; ${PWDCMD-pwd}`
|
||||||
|
|
||||||
|
|
||||||
# this is a hack. sun4 must always be a valid host alias or this will fail.
|
# this is a hack. sun4 must always be a valid host alias or this will fail.
|
||||||
|
@ -566,8 +566,8 @@ case "${srcdir}" in
|
||||||
echo "Invalid source directory ${srcdir}" >&2
|
echo "Invalid source directory ${srcdir}" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
pwd=`pwd`
|
pwd=`${PWDCMD-pwd}`
|
||||||
srcpwd=`cd ${srcdir} ; pwd`
|
srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
|
||||||
if [ "${pwd}" = "${srcpwd}" ] ; then
|
if [ "${pwd}" = "${srcpwd}" ] ; then
|
||||||
srcdir=.
|
srcdir=.
|
||||||
fi
|
fi
|
||||||
|
@ -579,7 +579,7 @@ case "${srcdir}" in
|
||||||
".") ;;
|
".") ;;
|
||||||
*)
|
*)
|
||||||
if [ -f ${srcdir}/config.status ] ; then
|
if [ -f ${srcdir}/config.status ] ; then
|
||||||
echo '***' Cannot configure here in \"${PWD=`pwd`}\" when \"${srcdir}\" is currently configured. 1>&2
|
echo '***' Cannot configure here in \"${PWD=`${PWDCMD-pwd}`}\" when \"${srcdir}\" is currently configured. 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
@ -708,7 +708,7 @@ fi
|
||||||
# some sanity checks on configure.in
|
# some sanity checks on configure.in
|
||||||
case "${srctrigger}" in
|
case "${srctrigger}" in
|
||||||
"")
|
"")
|
||||||
echo '***' srctrigger not set in ${PWD=`pwd`}/configure.in. 1>&2
|
echo '***' srctrigger not set in ${PWD=`${PWDCMD-pwd}`}/configure.in. 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
*) ;;
|
*) ;;
|
||||||
|
@ -778,8 +778,8 @@ esac
|
||||||
|
|
||||||
if [ ! -r ${srcdir}/${srctrigger} ] ; then
|
if [ ! -r ${srcdir}/${srctrigger} ] ; then
|
||||||
case "${srcdirdefaulted}" in
|
case "${srcdirdefaulted}" in
|
||||||
"") echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/${srcdir}" 1>&2 ;;
|
"") echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`${PWDCMD-pwd}`}/${srcdir}" 1>&2 ;;
|
||||||
*) echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`pwd`}/. or ${PWD=`pwd`}/.." 1>&2 ;;
|
*) echo '***' "${progname}: Can't find ${srcname} sources in ${PWD=`${PWDCMD-pwd}`}/. or ${PWD=`${PWDCMD-pwd}`}/.." 1>&2 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo '***' \(At least ${srctrigger} is missing.\) 1>&2
|
echo '***' \(At least ${srctrigger} is missing.\) 1>&2
|
||||||
|
@ -1108,7 +1108,7 @@ for subdir in . ${subdirs} ; do
|
||||||
if mkdir ${subdir} ; then
|
if mkdir ${subdir} ; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
echo '***' "${progname}: could not make ${PWD=`pwd`}/${subdir}" 1>&2
|
echo '***' "${progname}: could not make ${PWD=`${PWDCMD-pwd}`}/${subdir}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1207,7 +1207,7 @@ EOF
|
||||||
sed -e "/^####/ r ${package_makefile_rules_frag}" ${srcdir}/${subdir}/${Makefile_in} > ${Makefile}.tem
|
sed -e "/^####/ r ${package_makefile_rules_frag}" ${srcdir}/${subdir}/${Makefile_in} > ${Makefile}.tem
|
||||||
else
|
else
|
||||||
echo '***' Expected package makefile rules fragment \"${package_makefile_rules_frag}\" 1>&2
|
echo '***' Expected package makefile rules fragment \"${package_makefile_rules_frag}\" 1>&2
|
||||||
echo '***' is missing in ${PWD=`pwd`}. 1>&2
|
echo '***' is missing in ${PWD=`${PWDCMD-pwd}`}. 1>&2
|
||||||
cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem
|
cp ${srcdir}/${subdir}/${Makefile_in} ${subdir}/Makefile.tem
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
@ -1243,7 +1243,7 @@ EOF
|
||||||
sed -e "/^####/ r ${host_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem
|
sed -e "/^####/ r ${host_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem
|
||||||
else
|
else
|
||||||
echo '***' Expected host makefile fragment \"${host_makefile_frag}\" 1>&2
|
echo '***' Expected host makefile fragment \"${host_makefile_frag}\" 1>&2
|
||||||
echo '***' is missing in ${PWD=`pwd`}. 1>&2
|
echo '***' is missing in ${PWD=`${PWDCMD-pwd}`}. 1>&2
|
||||||
mv ${Makefile} ${subdir}/Makefile.tem
|
mv ${Makefile} ${subdir}/Makefile.tem
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
@ -1279,7 +1279,7 @@ EOF
|
||||||
sed -e "/^####/ r ${package_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem
|
sed -e "/^####/ r ${package_makefile_frag}" ${Makefile} > ${subdir}/Makefile.tem
|
||||||
else
|
else
|
||||||
echo '***' Expected package makefile fragment \"${package_makefile_rules_frag}\" 1>&2
|
echo '***' Expected package makefile fragment \"${package_makefile_rules_frag}\" 1>&2
|
||||||
echo '***' is missing in ${PWD=`pwd`}. 1>&2
|
echo '***' is missing in ${PWD=`${PWDCMD-pwd}`}. 1>&2
|
||||||
mv ${Makefile} ${subdir}/Makefile.tem
|
mv ${Makefile} ${subdir}/Makefile.tem
|
||||||
fi
|
fi
|
||||||
esac
|
esac
|
||||||
|
@ -1465,7 +1465,7 @@ EOF
|
||||||
|
|
||||||
newusing=`echo "${using}" | sed 's/and/using/'`
|
newusing=`echo "${using}" | sed 's/and/using/'`
|
||||||
using=${newusing}
|
using=${newusing}
|
||||||
echo "Created \"${Makefile}\" in" ${PWD=`pwd`} ${using}
|
echo "Created \"${Makefile}\" in" ${PWD=`${PWDCMD-pwd}`} ${using}
|
||||||
|
|
||||||
. ${tmpfile}.pos
|
. ${tmpfile}.pos
|
||||||
|
|
||||||
|
@ -1531,14 +1531,14 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
|
||||||
if mkdir ./${bld_dir} ; then
|
if mkdir ./${bld_dir} ; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
echo '***' "${progname}: could not make ${PWD=`pwd`}/${bld_dir}" 1>&2
|
echo '***' "${progname}: could not make ${PWD=`${PWDCMD-pwd}`}/${bld_dir}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
POPDIR=${PWD=`pwd`}
|
POPDIR=${PWD=`${PWDCMD-pwd}`}
|
||||||
cd ${bld_dir}
|
cd ${bld_dir}
|
||||||
|
|
||||||
### figure out what to do with srcdir
|
### figure out what to do with srcdir
|
||||||
|
@ -1586,7 +1586,7 @@ if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then
|
||||||
${srcdiroption} ${diroptions} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${floating_pointoption} ${cache_file_option} ${removing} ${other_options} ${redirect} ; then
|
${srcdiroption} ${diroptions} ${program_prefixoption} ${program_suffixoption} ${program_transform_nameoption} ${site_option} ${withoptions} ${withoutoptions} ${enableoptions} ${disableoptions} ${floating_pointoption} ${cache_file_option} ${removing} ${other_options} ${redirect} ; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
echo Configure in `pwd` failed, exiting. 1>&2
|
echo Configure in `${PWDCMD-pwd}` failed, exiting. 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -446,7 +446,7 @@ target_subdir=${target_alias}
|
||||||
if test ! -d ${target_subdir} ; then
|
if test ! -d ${target_subdir} ; then
|
||||||
if mkdir ${target_subdir} ; then true
|
if mkdir ${target_subdir} ; then true
|
||||||
else
|
else
|
||||||
echo "'*** could not make ${PWD=`pwd`}/${target_subdir}" 1>&2
|
echo "'*** could not make ${PWD=`${PWDCMD-pwd}`}/${target_subdir}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -457,7 +457,7 @@ if test x"${build_alias}" != x"${host}" ; then
|
||||||
if test ! -d ${build_subdir} ; then
|
if test ! -d ${build_subdir} ; then
|
||||||
if mkdir ${build_subdir} ; then true
|
if mkdir ${build_subdir} ; then true
|
||||||
else
|
else
|
||||||
echo "'*** could not make ${PWD=`pwd`}/${build_subdir}" 1>&2
|
echo "'*** could not make ${PWD=`${PWDCMD-pwd}`}/${build_subdir}" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue