mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-13 11:21:13 +02:00
14679, Bart 14693, 14758, 14760: autoconf-2.50 changes
This commit is contained in:
parent
ee86ac36a4
commit
b94aaa20e3
7 changed files with 2101 additions and 1676 deletions
|
@ -1,7 +1,7 @@
|
||||||
DISTFILES_SRC='
|
DISTFILES_SRC='
|
||||||
.cvsignore .distfiles .preconfig Makefile.in
|
.cvsignore .distfiles .preconfig Makefile.in
|
||||||
ChangeLog ChangeLog.3.0 INSTALL META-FAQ README
|
ChangeLog ChangeLog-3.1 ChangeLog.3.0 INSTALL LICENCE META-FAQ README
|
||||||
acconfig.h aclocal.m4 aczsh.m4 configure.in
|
acconfig.h aclocal.m4 aczsh.m4 configure.in zshconfig.ac configure.ac
|
||||||
configure config.h.in stamp-h.in
|
configure config.h.in stamp-h.in
|
||||||
config.guess config.sub install-sh mkinstalldirs
|
config.guess config.sub install-sh mkinstalldirs
|
||||||
'
|
'
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
2001-06-06 Andrej Borsenkow <bor@zsh.org>
|
||||||
|
|
||||||
|
* 14679, Bart 14693, 14758, 14760: configure.ac, zshconfig.ac,
|
||||||
|
.distfiles, Makefile.in, configure.in, Src/mkmakemod.sh: Allow
|
||||||
|
processing by both autoconf-2.13 and autoconf-2.50; remove
|
||||||
|
config.status hack for autoconf-2.50
|
||||||
|
|
||||||
2001-06-06 Sven Wischnowsky <wischnow@zsh.org>
|
2001-06-06 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
* 14736: Doc/Zsh/compsys.yo: make docs for _wanted and
|
* 14736: Doc/Zsh/compsys.yo: make docs for _wanted and
|
||||||
|
|
47
Makefile.in
47
Makefile.in
|
@ -60,8 +60,8 @@ install-strip:
|
||||||
$(MAKE) install STRIPFLAGS="-s"
|
$(MAKE) install STRIPFLAGS="-s"
|
||||||
|
|
||||||
# install/uninstall most things
|
# install/uninstall most things
|
||||||
install: install.bin install.modules install.man install.fns
|
install: install.bin install.modules install.fns install.man
|
||||||
uninstall: uninstall.bin uninstall.modules uninstall.man uninstall.fns
|
uninstall: uninstall.bin uninstall.modules uninstall.fns uninstall.man
|
||||||
|
|
||||||
# install/uninstall just the binary
|
# install/uninstall just the binary
|
||||||
install.bin uninstall.bin:
|
install.bin uninstall.bin:
|
||||||
|
@ -77,14 +77,25 @@ install.man uninstall.man:
|
||||||
|
|
||||||
# install/uninstall just the shell functions
|
# install/uninstall just the shell functions
|
||||||
install.fns:
|
install.fns:
|
||||||
test x$(sitefndir) != xno && $(sdir_top)/mkinstalldirs $(DESTDIR)$(sitefndir)
|
if test x$(fndir) != x && test x$(fndir) != xno; then \
|
||||||
@cd Completion && $(MAKE) $(MAKEDEFS) $@
|
test x$(sitefndir) != xno && \
|
||||||
@cd Functions && $(MAKE) $(MAKEDEFS) $@
|
$(SHELL) $(sdir_top)/mkinstalldirs $(DESTDIR)$(sitefndir); \
|
||||||
|
sdir_top="$(sdir_top)" fndir="$(fndir)" dir_top="$(dir_top)" \
|
||||||
|
FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \
|
||||||
|
INSTALL_DATA="$(INSTALL_DATA)" \
|
||||||
|
DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \
|
||||||
|
$(SHELL) $(sdir_top)/Config/installfns.sh || exit 1; \
|
||||||
|
fi; \
|
||||||
|
exit 0
|
||||||
|
|
||||||
uninstall.fns:
|
uninstall.fns:
|
||||||
# never attempt to remove $(sitefndir)
|
if test x$(fndir) != x && test x$(fndir) != xno; then \
|
||||||
@cd Completion && $(MAKE) $(MAKEDEFS) $@
|
fndir="$(fndir)" dir_top="$(dir_top)" \
|
||||||
@cd Functions && $(MAKE) $(MAKEDEFS) $@
|
FUNCTIONS_SUBDIRS="$(FUNCTIONS_SUBDIRS)" \
|
||||||
|
DESTDIR="$(DESTDIR)" VERSION="$(VERSION)" \
|
||||||
|
$(SHELL) $(sdir_top)/Config/uninstallfns.sh || exit 1; \
|
||||||
|
fi; \
|
||||||
|
exit 0
|
||||||
|
|
||||||
# install/uninstall just the info pages
|
# install/uninstall just the info pages
|
||||||
install.info uninstall.info:
|
install.info uninstall.info:
|
||||||
|
@ -103,10 +114,7 @@ check test:
|
||||||
@CLEAN_MK@
|
@CLEAN_MK@
|
||||||
|
|
||||||
distclean-here:
|
distclean-here:
|
||||||
@cd Completion && $(MAKE) $(MAKEDEFS) $@
|
rm -f Makefile config.h config.status config.log config.cache config.modules stamp-h Config/defs.mk
|
||||||
@cd Functions && $(MAKE) $(MAKEDEFS) $@
|
|
||||||
@cd Test && $(MAKE) $(MAKEDEFS) $@
|
|
||||||
rm -f Makefile config.h config.status config.log config.cache stamp-h Config/defs.mk
|
|
||||||
|
|
||||||
realclean-here:
|
realclean-here:
|
||||||
cd $(sdir) && rm -f config.h.in stamp-h.in configure
|
cd $(sdir) && rm -f config.h.in stamp-h.in configure
|
||||||
|
@ -117,19 +125,20 @@ realclean-here:
|
||||||
|
|
||||||
config: config.h
|
config: config.h
|
||||||
|
|
||||||
config.status: configure
|
config.status: $(sdir)/configure
|
||||||
./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
configure: configure.in aclocal.m4 aczsh.m4
|
$(sdir)/configure: $(sdir)/zshconfig.ac $(sdir)/aclocal.m4 $(sdir)/aczsh.m4 $(sdir)/configure.in $(sdir)/configure.ac
|
||||||
cd $(sdir) && autoconf
|
cd $(sdir) && autoconf
|
||||||
|
|
||||||
config.h: stamp-h
|
config.h: stamp-h
|
||||||
stamp-h: config.h.in config.status
|
stamp-h: $(sdir)/config.h.in config.status
|
||||||
cd $(dir_top) && \
|
cd $(dir_top) && \
|
||||||
CONFIG_FILES= CONFIG_HEADERS=$(subdir)/config.h ./config.status
|
CONFIG_FILES= CONFIG_HEADERS=$(subdir)/config.h $(SHELL) ./config.status
|
||||||
|
|
||||||
config.h.in: stamp-h.in
|
$(sdir)/config.h.in: $(sdir)/stamp-h.in
|
||||||
stamp-h.in: configure.in acconfig.h aclocal.m4 aczsh.m4
|
$(sdir)/stamp-h.in: $(sdir)/zshconfig.ac $(sdir)/acconfig.h \
|
||||||
|
$(sdir)/aclocal.m4 $(sdir)/aczsh.m4
|
||||||
cd $(sdir) && autoheader
|
cd $(sdir) && autoheader
|
||||||
echo > $(sdir)/stamp-h.in
|
echo > $(sdir)/stamp-h.in
|
||||||
|
|
||||||
|
|
128
Src/mkmakemod.sh
128
Src/mkmakemod.sh
|
@ -90,6 +90,8 @@ the_makefile=$2
|
||||||
|
|
||||||
if $first_stage; then
|
if $first_stage; then
|
||||||
|
|
||||||
|
dir_top=`echo $the_subdir | sed 's,[^/][^/]*,..,g'`
|
||||||
|
|
||||||
trap "rm -f $the_subdir/${the_makefile}.in" 1 2 15
|
trap "rm -f $the_subdir/${the_makefile}.in" 1 2 15
|
||||||
echo "creating $the_subdir/${the_makefile}.in"
|
echo "creating $the_subdir/${the_makefile}.in"
|
||||||
exec 3>&1 >$the_subdir/${the_makefile}.in
|
exec 3>&1 >$the_subdir/${the_makefile}.in
|
||||||
|
@ -99,13 +101,19 @@ if $first_stage; then
|
||||||
echo "##### ===== DEFINITIONS ===== #####"
|
echo "##### ===== DEFINITIONS ===== #####"
|
||||||
echo
|
echo
|
||||||
echo "makefile = ${the_makefile}"
|
echo "makefile = ${the_makefile}"
|
||||||
echo "dir_top = "`echo $the_subdir | sed 's,[^/][^/]*,..,g'`
|
echo "dir_top = ${dir_top}"
|
||||||
echo "subdir = $the_subdir"
|
echo "subdir = ${the_subdir}"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
. Src/modules.index
|
bin_mods=`grep link=static ./config.modules | \
|
||||||
bin_mods=" zsh/main "`sed 's/^/ /;s/$/ /' Src/modules-bltin`
|
sed -e '/^#/d' -e 's/ .*/ /' -e 's/^name=/ /'`
|
||||||
if grep '%@D@%D%' config.status >/dev/null; then
|
dyn_mods="`grep link=dynamic ./config.modules | \
|
||||||
|
sed -e '/^#/d' -e 's/ .*/ /' -e 's/^name=/ /'`"
|
||||||
|
module_list="${bin_mods}${dyn_mods}"
|
||||||
|
|
||||||
|
# check both 2.13 and 2.50 syntax
|
||||||
|
if grep '%@D@%D%' config.status >/dev/null ||
|
||||||
|
grep ',@D@,D,' config.status >/dev/null; then
|
||||||
is_dynamic=true
|
is_dynamic=true
|
||||||
else
|
else
|
||||||
is_dynamic=false
|
is_dynamic=false
|
||||||
|
@ -120,13 +128,18 @@ if $first_stage; then
|
||||||
all_proto=
|
all_proto=
|
||||||
lastsub=//
|
lastsub=//
|
||||||
for module in $module_list; do
|
for module in $module_list; do
|
||||||
q_module=`echo $module | sed 's,Q,Qq,g;s,_,Qu,g;s,/,Qs,g'`
|
modfile="`grep '^name='$module' ' ./config.modules | \
|
||||||
eval "modfile=\$modfile_$q_module"
|
sed -e 's/^.* modfile=//' -e 's/ .*//'`"
|
||||||
case $modfile in
|
case $modfile in
|
||||||
$the_subdir/$lastsub/*) ;;
|
$the_subdir/$lastsub/*) ;;
|
||||||
$the_subdir/*/*)
|
$the_subdir/*/*)
|
||||||
lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'`
|
lastsub=`echo $modfile | sed 's,^'$the_subdir'/,,;s,/[^/]*$,,'`
|
||||||
all_subdirs="$all_subdirs $lastsub"
|
case "$all_subdirs " in
|
||||||
|
*" $lastsub "* ) ;;
|
||||||
|
* )
|
||||||
|
all_subdirs="$all_subdirs $lastsub"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
$the_subdir/*)
|
$the_subdir/*)
|
||||||
mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`
|
mddname=`echo $modfile | sed 's,^.*/,,;s,\.mdd$,,'`
|
||||||
|
@ -173,6 +186,8 @@ if $first_stage; then
|
||||||
remote_mdhs=
|
remote_mdhs=
|
||||||
other_exports=
|
other_exports=
|
||||||
remote_exports=
|
remote_exports=
|
||||||
|
other_modules=
|
||||||
|
remote_modules=
|
||||||
for mddname in $here_mddnames; do
|
for mddname in $here_mddnames; do
|
||||||
|
|
||||||
unset name moddeps nozshdep alwayslink hasexport
|
unset name moddeps nozshdep alwayslink hasexport
|
||||||
|
@ -187,18 +202,34 @@ if $first_stage; then
|
||||||
|
|
||||||
dobjects=`echo $objects '' | sed 's,\.o ,..o ,g'`
|
dobjects=`echo $objects '' | sed 's,\.o ,..o ,g'`
|
||||||
modhdeps=
|
modhdeps=
|
||||||
|
mododeps=
|
||||||
exportdeps=
|
exportdeps=
|
||||||
imports=
|
imports=
|
||||||
q_moddeps=
|
q_moddeps=
|
||||||
for dep in $moddeps; do
|
for dep in $moddeps; do
|
||||||
|
depfile="`grep '^name='$dep' ' ./config.modules | \
|
||||||
|
sed -e 's/^.* modfile=//' -e 's/ .*//'`"
|
||||||
q_dep=`echo $dep | sed 's,Q,Qq,g;s,_,Qu,g;s,/,Qs,g'`
|
q_dep=`echo $dep | sed 's,Q,Qq,g;s,_,Qu,g;s,/,Qs,g'`
|
||||||
q_moddeps="$q_moddeps $q_dep"
|
q_moddeps="$q_moddeps $q_dep"
|
||||||
eval "depfile=\$modfile_$q_dep"
|
|
||||||
eval `echo $depfile | sed 's,/\([^/]*\)\.mdd$,;depbase=\1,;s,^,loc=,'`
|
eval `echo $depfile | sed 's,/\([^/]*\)\.mdd$,;depbase=\1,;s,^,loc=,'`
|
||||||
|
case "$binmod" in
|
||||||
|
*" $dep "* )
|
||||||
|
dep=zsh/main
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $the_subdir in
|
case $the_subdir in
|
||||||
$loc)
|
$loc)
|
||||||
mdh="${depbase}.mdh"
|
mdh="${depbase}.mdh"
|
||||||
export="${depbase}.export"
|
export="${depbase}.export"
|
||||||
|
case "$dep" in
|
||||||
|
zsh/main )
|
||||||
|
mdll="\$(dir_top)/Src/libzsh-\$(VERSION).\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
mdll="${depbase}.\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
$loc/*)
|
$loc/*)
|
||||||
mdh="\$(dir_top)/$loc/${depbase}.mdh"
|
mdh="\$(dir_top)/$loc/${depbase}.mdh"
|
||||||
|
@ -211,6 +242,18 @@ if $first_stage; then
|
||||||
*" $export "*) ;;
|
*" $export "*) ;;
|
||||||
*) other_exports="$other_exports $export" ;;
|
*) other_exports="$other_exports $export" ;;
|
||||||
esac
|
esac
|
||||||
|
case "$dep" in
|
||||||
|
zsh/main )
|
||||||
|
mdll="\$(dir_top)/Src/libzsh-\$(VERSION).\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
mdll="\$(dir_top)/$loc/${depbase}.\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
case "$other_modules " in
|
||||||
|
*" $mdll "*) ;;
|
||||||
|
*) other_modules="$other_modules $mdll" ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
mdh="\$(dir_top)/$loc/${depbase}.mdh"
|
mdh="\$(dir_top)/$loc/${depbase}.mdh"
|
||||||
|
@ -223,11 +266,31 @@ if $first_stage; then
|
||||||
*" $export "*) ;;
|
*" $export "*) ;;
|
||||||
*) remote_exports="$remote_exports $export" ;;
|
*) remote_exports="$remote_exports $export" ;;
|
||||||
esac
|
esac
|
||||||
|
case "$dep" in
|
||||||
|
zsh/main )
|
||||||
|
mdll="\$(dir_top)/Src/libzsh-\$(VERSION).\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
mdll="\$(dir_top)/$loc/${depbase}.\$(DL_EXT) "
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
case "$remote_modules " in
|
||||||
|
*" $mdll "*) ;;
|
||||||
|
*) remote_modules="$remote_modules $mdll" ;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
modhdeps="$modhdeps $mdh"
|
modhdeps="$modhdeps $mdh"
|
||||||
exportdeps="$exportdeps $export"
|
exportdeps="$exportdeps $export"
|
||||||
imports="$imports \$(IMPOPT)$export"
|
imports="$imports \$(IMPOPT)$export"
|
||||||
|
case "$mododeps " in
|
||||||
|
*" $mdll "* )
|
||||||
|
:
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
mododeps="$mododeps $mdll"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "##### ===== DEPENDENCIES GENERATED FROM ${mddname}.mdd ===== #####"
|
echo "##### ===== DEPENDENCIES GENERATED FROM ${mddname}.mdd ===== #####"
|
||||||
|
@ -239,6 +302,8 @@ if $first_stage; then
|
||||||
echo "INCS_${mddname} = \$(EPRO_${mddname}) $otherincs"
|
echo "INCS_${mddname} = \$(EPRO_${mddname}) $otherincs"
|
||||||
echo "EXPIMP_${mddname} = $imports \$(EXPOPT)$mddname.export"
|
echo "EXPIMP_${mddname} = $imports \$(EXPOPT)$mddname.export"
|
||||||
echo "NXPIMP_${mddname} ="
|
echo "NXPIMP_${mddname} ="
|
||||||
|
echo "LINKMODS_${mddname} = $mododeps"
|
||||||
|
echo "NOLINKMODS_${mddname} = "
|
||||||
echo
|
echo
|
||||||
echo "proto.${mddname}: \$(EPRO_${mddname})"
|
echo "proto.${mddname}: \$(EPRO_${mddname})"
|
||||||
echo "\$(SYMS_${mddname}): \$(PROTODEPS)"
|
echo "\$(SYMS_${mddname}): \$(PROTODEPS)"
|
||||||
|
@ -257,15 +322,15 @@ if $first_stage; then
|
||||||
;; esac
|
;; esac
|
||||||
instsubdir=`echo $name | sed 's,^,/,;s,/[^/]*$,,'`
|
instsubdir=`echo $name | sed 's,^,/,;s,/[^/]*$,,'`
|
||||||
echo "install.modules.${mddname}: ${mddname}.\$(DL_EXT)"
|
echo "install.modules.${mddname}: ${mddname}.\$(DL_EXT)"
|
||||||
echo " \$(sdir_top)/mkinstalldirs \$(DESTDIR)\$(MODDIR)${instsubdir}"
|
echo " \$(SHELL) \$(sdir_top)/mkinstalldirs \$(DESTDIR)\$(MODDIR)${instsubdir}"
|
||||||
echo " \$(INSTALL_PROGRAM) ${mddname}.\$(DL_EXT) \$(DESTDIR)\$(MODDIR)/${name}.\$(DL_EXT)"
|
echo " \$(INSTALL_PROGRAM) \$(STRIPFLAGS) ${mddname}.\$(DL_EXT) \$(DESTDIR)\$(MODDIR)/${name}.\$(DL_EXT)"
|
||||||
echo
|
echo
|
||||||
echo "uninstall.modules.${mddname}:"
|
echo "uninstall.modules.${mddname}:"
|
||||||
echo " rm -f \$(DESTDIR)\$(MODDIR)/${name}.\$(DL_EXT)"
|
echo " rm -f \$(DESTDIR)\$(MODDIR)/${name}.\$(DL_EXT)"
|
||||||
echo
|
echo
|
||||||
echo "${mddname}.\$(DL_EXT): \$(MODDOBJS_${mddname}) ${mddname}.export $exportdeps"
|
echo "${mddname}.\$(DL_EXT): \$(MODDOBJS_${mddname}) ${mddname}.export $exportdeps \$(@LINKMODS@_${mddname})"
|
||||||
echo ' rm -f $@'
|
echo ' rm -f $@'
|
||||||
echo " \$(DLLINK) \$(@E@XPIMP_$mddname) \$(@E@NTRYOPT) \$(MODDOBJS_${mddname}) \$(LIBS)"
|
echo " \$(DLLINK) \$(@E@XPIMP_$mddname) \$(@E@NTRYOPT) \$(MODDOBJS_${mddname}) \$(@LINKMODS@_${mddname}) \$(LIBS) "
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
echo "${mddname}.mdhi: ${mddname}.mdhs \$(INCS_${mddname})"
|
echo "${mddname}.mdhi: ${mddname}.mdhs \$(INCS_${mddname})"
|
||||||
|
@ -327,9 +392,25 @@ if $first_stage; then
|
||||||
echo " echo; \\"
|
echo " echo; \\"
|
||||||
fi
|
fi
|
||||||
if test -n "$proto"; then
|
if test -n "$proto"; then
|
||||||
|
echo " echo '# undef mod_import_variable'; \\"
|
||||||
|
echo " echo '# undef mod_import_function'; \\"
|
||||||
|
echo " echo '# if defined(IMPORTING_MODULE_${q_name}) && defined(MODULE)'; \\"
|
||||||
|
echo " echo '# define mod_import_variable @MOD_IMPORT_VARIABLE@'; \\"
|
||||||
|
echo " echo '# define mod_import_function @MOD_IMPORT_FUNCTION@'; \\"
|
||||||
|
echo " echo '# else'; \\"
|
||||||
|
echo " echo '# define mod_import_function'; \\"
|
||||||
|
echo " echo '# define mod_import_variable'; \\"
|
||||||
|
echo " echo '# endif /* IMPORTING_MODULE_${q_name} && MODULE */'; \\"
|
||||||
echo " for epro in \$(EPRO_${mddname}); do \\"
|
echo " for epro in \$(EPRO_${mddname}); do \\"
|
||||||
echo " echo '# include \"'\$\$epro'\"'; \\"
|
echo " echo '# include \"'\$\$epro'\"'; \\"
|
||||||
echo " done; \\"
|
echo " done; \\"
|
||||||
|
echo " echo '# undef mod_import_variable'; \\"
|
||||||
|
echo " echo '# define mod_import_variable'; \\"
|
||||||
|
echo " echo '# undef mod_import_variable'; \\"
|
||||||
|
echo " echo '# define mod_import_variable'; \\"
|
||||||
|
echo " echo '# ifndef mod_export'; \\"
|
||||||
|
echo " echo '# define mod_export @MOD_EXPORT@'; \\"
|
||||||
|
echo " echo '# endif /* mod_export */'; \\"
|
||||||
echo " echo; \\"
|
echo " echo; \\"
|
||||||
fi
|
fi
|
||||||
echo " echo '#endif /* !have_${q_name}_module */'; \\"
|
echo " echo '#endif /* !have_${q_name}_module */'; \\"
|
||||||
|
@ -343,7 +424,7 @@ if $first_stage; then
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if test -n "$remote_mdhs$other_mdhs$remote_exports$other_exports"; then
|
if test -n "$remote_mdhs$other_mdhs$remote_exports$other_exports$remote_modules$other_modules"; then
|
||||||
echo "##### ===== DEPENDENCIES FOR REMOTE MODULES ===== #####"
|
echo "##### ===== DEPENDENCIES FOR REMOTE MODULES ===== #####"
|
||||||
echo
|
echo
|
||||||
for mdh in $remote_mdhs; do
|
for mdh in $remote_mdhs; do
|
||||||
|
@ -366,6 +447,16 @@ if $first_stage; then
|
||||||
echo " false # should only happen with make -n"
|
echo " false # should only happen with make -n"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
for mdll in $remote_modules; do
|
||||||
|
echo "$mdll: FORCE"
|
||||||
|
echo " @cd @%@ && \$(MAKE) \$(MAKEDEFS) @%@$mdll"
|
||||||
|
echo
|
||||||
|
done | sed 's,^\(.*\)@%@\(.*\)@%@\(.*\)/\([^/]*\)$,\1\3\2\4,'
|
||||||
|
if test -n "$other_modules"; then
|
||||||
|
echo "${other_modules}:" | sed 's,^ ,,'
|
||||||
|
echo " false # should only happen with make -n"
|
||||||
|
echo
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "##### End of ${the_makefile}.in"
|
echo "##### End of ${the_makefile}.in"
|
||||||
|
@ -374,7 +465,12 @@ if $first_stage; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if $second_stage; then
|
if $second_stage ; then
|
||||||
|
if grep 'Hack for autoconf-2.13' ./config.status > /dev/null 2>&1 ; then
|
||||||
|
bang=\!
|
||||||
|
else
|
||||||
|
bang=
|
||||||
|
fi
|
||||||
|
|
||||||
trap "rm -f $the_subdir/${the_makefile}" 1 2 15
|
trap "rm -f $the_subdir/${the_makefile}" 1 2 15
|
||||||
|
|
||||||
|
@ -383,7 +479,7 @@ if $second_stage; then
|
||||||
# tree, this is a problem. zsh's configure script edits config.status,
|
# tree, this is a problem. zsh's configure script edits config.status,
|
||||||
# adding the feature that an input filename starting with "!" has the
|
# adding the feature that an input filename starting with "!" has the
|
||||||
# "!" removed and is not mangled further.
|
# "!" removed and is not mangled further.
|
||||||
CONFIG_FILES=$the_subdir/${the_makefile}:\!$the_subdir/${the_makefile}.in CONFIG_HEADERS= ./config.status
|
CONFIG_FILES=$the_subdir/${the_makefile}:$bang$the_subdir/${the_makefile}.in CONFIG_HEADERS= ${CONFIG_SHELL-/bin/sh} ./config.status
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
6
configure.ac
Normal file
6
configure.ac
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
AC_INIT(Src/zsh.h)
|
||||||
|
AC_PREREQ(2.50)
|
||||||
|
|
||||||
|
m4_include([zshconfig.ac])
|
||||||
|
|
1642
configure.in
1642
configure.in
File diff suppressed because it is too large
Load diff
1941
zshconfig.ac
Normal file
1941
zshconfig.ac
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue