# # # patch "configure.ac" # from [9d42b22ad34940b5452e866a6b255e574b6e3dce] # to [a7a508ca8f53f63f6985ca3545bfae070f8270d1] # # patch "pcre/Makefile.am" # from [f8ace4c2cda7a35f4f39816f43f81f2f4bdfd292] # to [5f5a65bf4da6e40045a00591848ec555294c8dfa] # # patch "pcre/configure.ac" # from [9b9c1d6982cdc614cf0e547b72eb76e3eeecce30] # to [cc92c3aa02e3ee4d83a9f852f150a2f9335c8dff] # # patch "pcre/pcre_chartables.c" # from [d9401a46b0d13b36b344c6a96580da7b5a8fb7b8] # to [7553e801092f8ac13a5d04b259b3ce6476788b93] # ============================================================ --- configure.ac 9d42b22ad34940b5452e866a6b255e574b6e3dce +++ configure.ac a7a508ca8f53f63f6985ca3545bfae070f8270d1 @@ -43,7 +43,8 @@ AC_SUBST(subsrcdir) # It is much easier to create the build subdirectories in the same # breath as the top level Makefile than to deal with Make's bizarro # behavior when directories are goals. -AC_CONFIG_FILES([Makefile], - [mkdir -p $needed_dirs], - [needed_dirs="$LIBRARIES monotone"]) +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_COMMANDS([build-dirs], + [mkdir -p $needed_dirs], + [needed_dirs="$LIBRARIES monotone"]) AC_OUTPUT ============================================================ --- pcre/Makefile.am f8ace4c2cda7a35f4f39816f43f81f2f4bdfd292 +++ pcre/Makefile.am 5f5a65bf4da6e40045a00591848ec555294c8dfa @@ -29,7 +29,7 @@ bin_PROGRAMS = pcretest pcregrep noinst_SCRIPTS = RunTest RunGrepTest bin_PROGRAMS = pcretest pcregrep -pcretest_SOURCES = pcretest.c +pcretest_SOURCES = pcretest.c pcreposix.c pcreposix.h pcretest_LDADD = libpcre.a pcregrep_SOURCES = pcregrep.c ============================================================ --- pcre/configure.ac 9b9c1d6982cdc614cf0e547b72eb76e3eeecce30 +++ pcre/configure.ac cc92c3aa02e3ee4d83a9f852f150a2f9335c8dff @@ -203,8 +203,11 @@ them both to 0; an emulation function wi them both to 0; an emulation function will be used. */]) # Checks for header files. +dnl Explicitly specifying AC_INCLUDES_DEFAULT gets autoconf not to do +dnl all the tests twice. AC_HEADER_STDC gets us sys/types.h and +dnl sys/stat.h for free. AC_HEADER_STDC -AC_CHECK_HEADERS(limits.h sys/types.h sys/stat.h dirent.h windows.h) +AC_CHECK_HEADERS([limits.h dirent.h windows.h],,, [AC_INCLUDES_DEFAULT()]) # Checks for typedefs, structures, and compiler characteristics. @@ -369,44 +372,3 @@ AC_OUTPUT AC_CONFIG_COMMANDS([script-chmod], [chmod a+x pcre-config]) AC_OUTPUT - -# Print out a nice little message after configure is run displaying your -# chosen options. - -cat <