Commit f610dd5f by Zack Weinberg

top level:

	* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
	In 'cpp' stanza, support '#line' as well as '# '.
config:
	* depstand.m4, lead-dot.m4: New files.
libcpp:
	* configure.ac: Invoke ZW_CREATE_DEPDIR and
	ZW_PROG_COMPILER_DEPENDENCIES.
	* aclocal.m4, configure: Regenerate.
	* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
	New variables.
	(distclean): Clean up $(DEPDIR) and its contents.
	(.c.o): Use $(COMPILE).
	Include $(DEPDIR)/*.Po for most object->header dependencies.

From-SVN: r100874
parent 4c73896d
2005-06-13 Zack Weinberg <zack@codesourcery.com>
* depcomp: Update from automake CVS. Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.
2005-06-08 Andreas Schwab <schwab@suse.de> 2005-06-08 Andreas Schwab <schwab@suse.de>
* MAINTAINERS: Move myself from 'Write After Approval' to * MAINTAINERS: Move myself from 'Write After Approval' to
...@@ -29,12 +34,12 @@ ...@@ -29,12 +34,12 @@
accepted into the master sources.) accepted into the master sources.)
2005-06-02 Aldy Hernandez <aldyh@redhat.com> 2005-06-02 Aldy Hernandez <aldyh@redhat.com>
Michael Snyder <msnyder@redhat.com> Michael Snyder <msnyder@redhat.com>
Stan Cox <scox@redhat.com> Stan Cox <scox@redhat.com>
* configure.in: Set noconfigdirs for ms1. * configure.in: Set noconfigdirs for ms1.
* configure: Regenerate. * configure: Regenerate.
2005-06-01 Jerry DeLisle <jvdelisle@verizon.net> 2005-06-01 Jerry DeLisle <jvdelisle@verizon.net>
...@@ -71,7 +76,7 @@ ...@@ -71,7 +76,7 @@
2005-05-19 Paul Brook <paul@codesourcery.com> 2005-05-19 Paul Brook <paul@codesourcery.com>
* configure.in: Rewrite misleading error message when requested * configure.in: Rewrite misleading error message when requested
language cannot be built. language cannot be built.
* configure: Regenerate. * configure: Regenerate.
...@@ -87,7 +92,7 @@ ...@@ -87,7 +92,7 @@
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use quotes on * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use quotes on
lt_cv_sys_max_cmd_len for now. lt_cv_sys_max_cmd_len for now.
2005-05-09 Stan Cox <scox@redhat.com> 2005-05-09 Stan Cox <scox@redhat.com>
* MAINTAINERS: Remove self, add Nick Clifton as iq2000 maintainer. * MAINTAINERS: Remove self, add Nick Clifton as iq2000 maintainer.
...@@ -164,7 +169,7 @@ ...@@ -164,7 +169,7 @@
2005-04-06 Paolo Bonzini <bonzini@gnu.org> 2005-04-06 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir. * Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir.
(TARGET_CONFIGARGS): Include --with-target-subdir. (TARGET_CONFIGARGS): Include --with-target-subdir.
(configure, all): New macros. Use them throughout. (configure, all): New macros. Use them throughout.
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
...@@ -172,7 +177,7 @@ ...@@ -172,7 +177,7 @@
2005-04-04 Jon Grimm <jgrimm2@us.ibm.com> 2005-04-04 Jon Grimm <jgrimm2@us.ibm.com>
* MAINTAINERS (Write After Approval): Add myself. * MAINTAINERS (Write After Approval): Add myself.
2005-03-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> 2005-03-31 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* MAINTAINERS: Remove 'loop unrolling' maintainer. * MAINTAINERS: Remove 'loop unrolling' maintainer.
......
2005-06-13 Zack Weinberg <zack@codesourcery.com>
* depstand.m4, lead-dot.m4: New files.
2005-05-19 Kelley Cook <kcook@gcc.gnu.org> 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
* accross.m4: Delete file. * accross.m4: Delete file.
......
## -*- Autoconf -*-
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# serial 8
# Based on depend.m4 from automake 1.9, modified for standalone use in
# an environment where GNU make is required.
# ZW_PROG_COMPILER_DEPENDENCIES
# -----------------------------
# Variant of _AM_DEPENDENCIES which just does the dependency probe and
# sets fooDEPMODE accordingly. Cache-variable compatible with
# original; not side-effect compatible. As the users of this macro
# may require accurate dependencies for correct builds, it does *not*
# honor --disable-dependency-checking, and failure to detect a usable
# method is an error. depcomp is assumed to be located in
# $ac_aux_dir.
#
# FIXME: Should use the Autoconf 2.5x language-selection mechanism.
AC_DEFUN([ZW_PROG_COMPILER_DEPENDENCIES],
[ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])
am_depcomp=$ac_aux_dir/depcomp
AC_CACHE_CHECK([dependency style of $depcc],
[am_cv_$1_dependencies_compiler_type],
[if test -f "$am_depcomp"; then
# We make a subdir and do the tests there. Otherwise we can end up
# making bogus files that we don't know about and never remove. For
# instance it was reported that on HP-UX the gcc test will end up
# making a dummy file named `D' -- because `-MD' means `put the output
# in D'.
mkdir conftest.dir
# Copy depcomp to subdir because otherwise we won't find it if we're
# using a relative directory.
cp "$am_depcomp" conftest.dir
cd conftest.dir
# We will build objects and dependencies in a subdirectory because
# it helps to detect inapplicable dependency modes. For instance
# both Tru64's cc and ICC support -MD to output dependencies as a
# side effect of compilation, but ICC will put the dependencies in
# the current directory while Tru64 will put them in the object
# directory.
mkdir sub
am_cv_$1_dependencies_compiler_type=none
if test "$am_compiler_list" = ""; then
am_compiler_list=`sed -n ['s/^\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
fi
for depmode in $am_compiler_list; do
if test $depmode = none; then break; fi
_AS_ECHO([$as_me:$LINENO: trying $depmode], AS_MESSAGE_LOG_FD)
# Setup a source with many dependencies, because some compilers
# like to wrap large dependency lists on column 80 (with \), and
# we should not choose a depcomp mode which is confused by this.
#
# We need to recreate these files for each test, as the compiler may
# overwrite some of them when testing with obscure command lines.
# This happens at least with the AIX C compiler.
: > sub/conftest.c
for i in 1 2 3 4 5 6; do
echo '#include "conftst'$i'.h"' >> sub/conftest.c
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
# Solaris 8's {/usr,}/bin/sh.
touch sub/conftst$i.h
done
echo "include sub/conftest.Po" > confmf
# We check with `-c' and `-o' for the sake of the "dashmstdout"
# mode. It turns out that the SunPro C++ compiler does not properly
# handle `-M -o', and we need to detect this.
depcmd="depmode=$depmode \
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c"
echo "| $depcmd" | sed -e 's/ */ /g' >&AS_MESSAGE_LOG_FD
if env $depcmd > conftest.err 2>&1 &&
grep sub/conftst6.h sub/conftest.Po >>conftest.err 2>&1 &&
grep sub/conftest.${OBJEXT-o} sub/conftest.Po >>conftest.err 2>&1 &&
${MAKE-make} -s -f confmf >>conftest.err 2>&1; then
# icc doesn't choke on unknown options, it will just issue warnings
# or remarks (even with -Werror). So we grep stderr for any message
# that says an option was ignored or not supported.
# When given -MP, icc 7.0 and 7.1 complain thusly:
# icc: Command line warning: ignoring option '-M'; no argument required
# The diagnosis changed in icc 8.0:
# icc: Command line remark: option '-MP' not supported
if (grep 'ignoring option' conftest.err ||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
am_cv_$1_dependencies_compiler_type=$depmode
_AS_ECHO([$as_me:$LINENO: success], AS_MESSAGE_LOG_FD)
break
fi
fi
_AS_ECHO([$as_me:$LINENO: failure, diagnostics are:], AS_MESSAGE_LOG_FD)
sed -e 's/^/| /' < conftest.err >&AS_MESSAGE_LOG_FD
done
cd ..
rm -rf conftest.dir
else
am_cv_$1_dependencies_compiler_type=none
fi
])
if test x${am_cv_$1_dependencies_compiler_type-none} = xnone
then AC_MSG_ERROR([no usable dependency style found])
else AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
fi
])
# AM_SET_DEPDIR
# -------------
# Choose a directory name for dependency files.
AC_DEFUN([AM_SET_DEPDIR],
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
])
# ZW_CREATE_DEPDIR
# ----------------
# As AM_SET_DEPDIR, but also create the directory at config.status time.
AC_DEFUN([ZW_CREATE_DEPDIR],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_CONFIG_COMMANDS([depdir], [mkdir $DEPDIR], [DEPDIR=$DEPDIR])
])
# -*- Autoconf -*-
# Copyright (C) 2003 Free Software Foundation, Inc.
# 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
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# serial 1
# Check whether the underlying file-system supports filenames
# with a leading dot. For instance MS-DOS doesn't.
AC_DEFUN([AM_SET_LEADING_DOT],
[rm -rf .tst 2>/dev/null
mkdir .tst 2>/dev/null
if test -d .tst; then
am__leading_dot=.
else
am__leading_dot=_
fi
rmdir .tst 2>/dev/null
AC_SUBST([am__leading_dot])])
#! /bin/sh #! /bin/sh
# depcomp - compile a program generating dependencies as side-effects # depcomp - compile a program generating dependencies as side-effects
scriptversion=2004-05-31.23 scriptversion=2005-05-16.16
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. # Copyright (C) 1999, 2000, 2003, 2004, 2005 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
...@@ -17,8 +17,8 @@ scriptversion=2004-05-31.23 ...@@ -17,8 +17,8 @@ scriptversion=2004-05-31.23
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02111-1307, USA. # 02110-1301, USA.
# As a special exception to the GNU General Public License, if you # As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a # distribute this file as part of a program that contains a
...@@ -50,11 +50,11 @@ Environment variables: ...@@ -50,11 +50,11 @@ Environment variables:
Report bugs to <bug-automake@gnu.org>. Report bugs to <bug-automake@gnu.org>.
EOF EOF
exit 0 exit $?
;; ;;
-v | --v*) -v | --v*)
echo "depcomp $scriptversion" echo "depcomp $scriptversion"
exit 0 exit $?
;; ;;
esac esac
...@@ -276,6 +276,29 @@ icc) ...@@ -276,6 +276,29 @@ icc)
rm -f "$tmpdepfile" rm -f "$tmpdepfile"
;; ;;
ia64hp)
# The "hp" stanza above does not work with HP's ia64 compilers,
# which have integrated preprocessors. The correct option to use
# with these is +Maked; it writes dependencies to a file named
# 'foo.d', which lands next to the object file, wherever that
# happens to be.
tmpdepfile=`echo "$object" | sed -e 's/\.o$/.d/'`
"$@" +Maked
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# The object file name is correct already.
cat "$tmpdepfile" > "$depfile"
# Add `dependent.h:' lines.
sed -ne '2,${; s/^ //; s/ \\*$//; s/$/:/; p; }' "$tmpdepfile" >> "$depfile"
rm -f "$tmpdepfile"
;;
tru64) tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side # The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
...@@ -287,36 +310,43 @@ tru64) ...@@ -287,36 +310,43 @@ tru64)
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then if test "$libtool" = yes; then
# Dependencies are output in .lo.d with libtool 1.4. # With Tru64 cc, shared objects can also be used to make a
# With libtool 1.5 they are output both in $dir.libs/$base.o.d # static library. This mecanism is used in libtool 1.4 series to
# and in $dir.libs/$base.o.d and $dir$base.o.d. We process the # handle both shared and static libraries in a single compilation.
# latter, because the former will be cleaned when $dir.libs is # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
# erased. #
tmpdepfile1="$dir.libs/$base.lo.d" # With libtool 1.5 this exception was removed, and libtool now
tmpdepfile2="$dir$base.o.d" # generates 2 separate objects for the 2 libraries. These two
tmpdepfile3="$dir.libs/$base.d" # compilations output dependencies in in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
tmpdepfile2=$dir$base.o.d # libtool 1.5
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD "$@" -Wc,-MD
else else
tmpdepfile1="$dir$base.o.d" tmpdepfile1=$dir$base.o.d
tmpdepfile2="$dir$base.d" tmpdepfile2=$dir$base.d
tmpdepfile3="$dir$base.d" tmpdepfile3=$dir$base.d
tmpdepfile4=$dir$base.d
"$@" -MD "$@" -MD
fi fi
stat=$? stat=$?
if test $stat -eq 0; then : if test $stat -eq 0; then :
else else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
exit $stat exit $stat
fi fi
if test -f "$tmpdepfile1"; then for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
tmpdepfile="$tmpdepfile1" do
elif test -f "$tmpdepfile2"; then test -f "$tmpdepfile" && break
tmpdepfile="$tmpdepfile2" done
else
tmpdepfile="$tmpdepfile3"
fi
if test -f "$tmpdepfile"; then if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the []. # That's a tab and a space in the [].
...@@ -460,7 +490,8 @@ cpp) ...@@ -460,7 +490,8 @@ cpp)
done done
"$@" -E | "$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
-e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile" sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile" rm -f "$depfile"
echo "$object : \\" > "$depfile" echo "$object : \\" > "$depfile"
......
2005-06-13 Zack Weinberg <zack@codesourcery.com>
* configure.ac: Invoke ZW_CREATE_DEPDIR and
ZW_PROG_COMPILER_DEPENDENCIES.
* aclocal.m4, configure: Regenerate.
* Makefile.in (DEPMODE, DEPDIR, depcomp, COMPILE.base, COMPILE):
New variables.
(distclean): Clean up $(DEPDIR) and its contents.
(.c.o): Use $(COMPILE).
Include $(DEPDIR)/*.Po for most object->header dependencies.
2005-05-28 Gabriel Dos Reis <gdr@integrable-solutions.net> 2005-05-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
* configure.ac: Check declarations for asprintf and vasprintf. * configure.ac: Check declarations for asprintf and vasprintf.
...@@ -17,7 +28,7 @@ ...@@ -17,7 +28,7 @@
* directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC. * directives.c (glue_header_name): Use XNEWVEC and XRESIZEVEC.
(parse_include): Use XNEWVEC. (parse_include): Use XNEWVEC.
(insert_pragma_entry): Rename local variable "new" to (insert_pragma_entry): Rename local variable "new" to
"new_entry". "new_entry".
(save_registered_pragmas): Cast return value of xmemdup. (save_registered_pragmas): Cast return value of xmemdup.
(destringize_and_run): Same for alloca. (destringize_and_run): Same for alloca.
(parse_assertion): Likewise. (parse_assertion): Likewise.
......
...@@ -51,6 +51,8 @@ RANLIB = @RANLIB@ ...@@ -51,6 +51,8 @@ RANLIB = @RANLIB@
SHELL = @SHELL@ SHELL = @SHELL@
USED_CATALOGS = @USED_CATALOGS@ USED_CATALOGS = @USED_CATALOGS@
XGETTEXT = @XGETTEXT@ XGETTEXT = @XGETTEXT@
DEPMODE = @CCDEPMODE@
DEPDIR = @DEPDIR@
datadir = @datadir@ datadir = @datadir@
exec_prefix = @prefix@ exec_prefix = @prefix@
...@@ -60,6 +62,8 @@ prefix = @prefix@ ...@@ -60,6 +62,8 @@ prefix = @prefix@
MSGMERGE = msgmerge MSGMERGE = msgmerge
mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
depcomp = $(SHELL) $(srcdir)/../depcomp
INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include @INCINTL@ \ INCLUDES = -I$(srcdir) -I. -I$(srcdir)/../include @INCINTL@ \
-I$(srcdir)/include -I$(srcdir)/include
...@@ -165,7 +169,8 @@ clean: mostlyclean ...@@ -165,7 +169,8 @@ clean: mostlyclean
distclean: clean distclean: clean
-rm -f config.h stamp-h1 config.status config.cache config.log \ -rm -f config.h stamp-h1 config.status config.cache config.log \
configure.lineno configure.status.lineno Makefile localedir.h \ configure.lineno configure.status.lineno Makefile localedir.h \
localedir.hs localedir.hs $(DEPDIR)/*.Po
-rmdir $(DEPDIR)
maintainer-clean: distclean maintainer-clean: distclean
@echo "This command is intended for maintainers to use" @echo "This command is intended for maintainers to use"
...@@ -186,10 +191,19 @@ update-po: $(CATALOGS:.gmo=.pox) ...@@ -186,10 +191,19 @@ update-po: $(CATALOGS:.gmo=.pox)
maintainer-clean check installcheck dvi html info install-info \ maintainer-clean check installcheck dvi html info install-info \
install-man update-po install-man update-po
# Dependency rule.
COMPILE.base = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c
ifeq ($(DEPMODE),depmode=gcc3)
COMPILE = $(COMPILE.base) -o $@ -MT $@ -MD -MP -MF $(DEPDIR)/$*.Po
else
COMPILE = source='$<' object='$@' libtool=no DEPDIR=$(DEPDIR) $(DEPMODE) \
$(depcomp) $(COMPILE.base)
endif
# Implicit rules and I18N # Implicit rules and I18N
.c.o: .c.o:
$(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c $< $(COMPILE) $<
# N.B. We do not attempt to copy these into $(srcdir). # N.B. We do not attempt to copy these into $(srcdir).
.po.gmo: .po.gmo:
...@@ -227,35 +241,7 @@ po/$(PACKAGE).pot: $(libcpp_a_SOURCES) ...@@ -227,35 +241,7 @@ po/$(PACKAGE).pot: $(libcpp_a_SOURCES)
.NOEXPORT: .NOEXPORT:
# Dependencies # Dependencies
-include $(patsubst %.o, $(DEPDIR)/%.Po, $(libcpp_a_OBJS) $(makedepend_OBJS))
top_srcdir = $(srcdir)/.. # Dependencies on generated headers have to be explicit.
top_incdir = $(srcdir)/../include init.o: localedir.h
libcpp_incdir = $(srcdir)/../libcpp/include
COMMON_DEPS = config.h $(srcdir)/system.h $(srcdir)/internal.h \
$(top_incdir)/libiberty.h $(top_incdir)/ansidecl.h \
$(top_incdir)/filenames.h $(top_incdir)/safe-ctype.h \
$(libcpp_incdir)/symtab.h $(top_incdir)/obstack.h \
$(libcpp_incdir)/line-map.h $(libcpp_incdir)/cpplib.h \
$(libcpp_incdir)/cpp-id-data.h $(top_incdir)/getopt.h
charset.o: $(srcdir)/charset.c $(COMMON_DEPS) $(srcdir)/ucnid.h
directives.o: $(srcdir)/directives.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h
errors.o: $(srcdir)/errors.c $(COMMON_DEPS)
expr.o: $(srcdir)/expr.c $(COMMON_DEPS)
files.o: $(srcdir)/files.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h \
$(top_incdir)/hashtab.h $(top_incdir)/md5.h
identifiers.o: $(srcdir)/identifiers.c $(COMMON_DEPS)
init.o: $(srcdir)/init.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h localedir.h
lex.o: $(srcdir)/lex.c $(COMMON_DEPS)
line-map.o: $(srcdir)/line-map.c $(COMMON_DEPS)
macro.o: $(srcdir)/macro.c $(COMMON_DEPS)
makedepend.o: $(srcdir)/makedepend.c $(COMMON_DEPS) $(libcpp_incdir)/mkdeps.h
mkdeps.o: $(srcdir)/mkdeps.c $(COMMON_DEPS)
pch.o: $(srcdir)/pch.c $(COMMON_DEPS) \
$(top_incdir)/hashtab.h $(libcpp_incdir)/mkdeps.h
symtab.o: $(srcdir)/symtab.c $(COMMON_DEPS)
traditional.o: $(srcdir)/traditional.c $(COMMON_DEPS)
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
m4_include([../config/acx.m4]) m4_include([../config/acx.m4])
m4_include([../config/codeset.m4]) m4_include([../config/codeset.m4])
m4_include([../config/depstand.m4])
m4_include([../config/gettext-sister.m4]) m4_include([../config/gettext-sister.m4])
m4_include([../config/iconv.m4]) m4_include([../config/iconv.m4])
m4_include([../config/lead-dot.m4])
m4_include([../config/lib-ld.m4]) m4_include([../config/lib-ld.m4])
m4_include([../config/lib-link.m4]) m4_include([../config/lib-link.m4])
m4_include([../config/lib-prefix.m4]) m4_include([../config/lib-prefix.m4])
......
...@@ -29,6 +29,10 @@ ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long]) ...@@ -29,6 +29,10 @@ ACX_PROG_CC_WARNING_ALMOST_PEDANTIC([-Wno-long-long])
# corrected. # corrected.
ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual]) ACX_PROG_CC_WARNINGS_ARE_ERRORS([manual])
# Dependency checking.
ZW_CREATE_DEPDIR
ZW_PROG_COMPILER_DEPENDENCIES([CC])
# Checks for header files. # Checks for header files.
AC_HEADER_TIME AC_HEADER_TIME
ACX_HEADER_STRING ACX_HEADER_STRING
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment