diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-19 00:54:12 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-19 00:54:12 +0100 |
commit | 1d0c46287d508236506ee59417e8da05c0cee3e5 (patch) | |
tree | e44b4a7ad97472ca0523cff975a958a7b93982e5 /package/bogofilter/patches/patch-configure_ac | |
parent | b668796b88da374fefa35b87f305ebcc03147e5d (diff) |
avoid autotools usage on host system
There are to many combinations of autotools on host systems.
If you need to patch the autotool buildsystem of a package
always add a autotool.patch and regenerate configure on your
host. That is the most portable way.
Diffstat (limited to 'package/bogofilter/patches/patch-configure_ac')
-rw-r--r-- | package/bogofilter/patches/patch-configure_ac | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/package/bogofilter/patches/patch-configure_ac b/package/bogofilter/patches/patch-configure_ac deleted file mode 100644 index c3c254400..000000000 --- a/package/bogofilter/patches/patch-configure_ac +++ /dev/null @@ -1,53 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- bogofilter-1.2.0.orig/configure.ac Sat Feb 21 21:41:43 2009 -+++ bogofilter-1.2.0/configure.ac Tue Dec 29 01:38:12 2009 -@@ -550,49 +550,6 @@ Cannot link against libdb? Try these steps to solve th - AH_TEMPLATE([HAVE_DB_H], [Have suitable db.h header]) - AC_SUBST(LIBDB) - -- dnl check if run-time link works -- saveLIBS="$LIBS" -- LIBS="$LIBS $LIBDB" -- AC_MSG_CHECKING(if a program can be linked against Berkeley DB and run) -- AC_RUN_IFELSE( -- AC_LANG_PROGRAM([[ --#ifdef HAVE_INTTYPES_H --#include <inttypes.h> --#endif --#include <db.h> -- ]], [[ --return 0; -- ]]),, -- [AC_MSG_RESULT(no) -- AC_MSG_ERROR([Cannot run a program linked against libdb. --Did you adjust your library search path to include your libdb?])],) -- AC_MSG_RESULT(yes) -- -- dnl check if header and library of DB library match -- dnl ignore if cross compiling -- AC_MSG_CHECKING(if Berkeley DB header and library versions match) -- rm -r -f bfadtestdir -- mkdir bfadtestdir -- AC_RUN_IFELSE( -- AC_LANG_PROGRAM([[ -- #include <stdlib.h> -- #include <stdio.h> --#ifdef HAVE_INTTYPES_H --#include <inttypes.h> --#endif -- #include <db.h> -- ]], [[ -- int maj, min; -- (void)db_version(&maj, &min, 0); -- (void)fprintf(stderr, "headers: %d.%d, library: %d.%d\n", -- DB_VERSION_MAJOR, DB_VERSION_MINOR, maj, min); -- if (maj != DB_VERSION_MAJOR) exit(1); -- if (min != DB_VERSION_MINOR) exit(1); -- exit(0); -- ]]),, -- [AC_MSG_RESULT(no) -- AC_MSG_ERROR(db.h header file and db library version do not match.)],) -- AC_MSG_RESULT(yes) - AC_CHECK_DECLS(db_create,, - AC_MSG_ERROR([[Can not locate a suitable Berkeley DB db.h header file. - Use --with-libdb-prefix=PATH to specify the path to a v3+ install directory. |