Browse Source

Add some backwards-compatible macros to accomodate the renaming of

AC_ADD_* macros.
experimental/pre_new_hash_func
Sascha Schumann 26 years ago
parent
commit
9a7c1f2ad6
  1. 5
      acinclude.m4
  2. 4
      build/build2.mk

5
acinclude.m4

@ -1050,6 +1050,11 @@ int main(void) {
fi
])
AC_DEFUN(AC_ADD_LIBPATH, [indir([PHP_ADD_LIBPATH])])
AC_DEFUN(AC_ADD_LIBRARY, [indir([PHP_ADD_LIBRARY])])
AC_DEFUN(AC_ADD_LIBRARY_WITH_PATH, [indir([PHP_ADD_LIBRARY_WITH_PATH])])
AC_DEFUN(AC_ADD_INCLUDE, [indir([PHP_ADD_INCLUDE])])
AC_DEFUN(PHP_FOPENCOOKIE,[
AC_CHECK_FUNC(fopencookie, [ have_glibc_fopencookie=yes ])

4
build/build2.mk

@ -58,9 +58,9 @@ $(makefile_in_files): $(makefile_am_files) aclocal.m4 configure.in $(config_m4_f
@for i in $(LT_TARGETS); do mv $$i.bak $$i; done
aclocal.m4: configure.in acinclude.m4 dynlib.m4
aclocal
aclocal 2>&1 | $(SUPPRESS_WARNINGS)
SUPPRESS_WARNINGS = (egrep -v '(warning: AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|.*AM_PROG_LEX.*)'||true)
SUPPRESS_WARNINGS = (egrep -v '(warning: AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|.*AM_PROG_LEX.*|defined in acinclude.m4 but never used)'||true)
$(config_h_in): configure acconfig.h
# explicitly remove target since autoheader does not seem to work

Loading…
Cancel
Save