123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- --- bogofilter-1.2.2.orig/configure 2010-07-08 05:30:26.000000000 +0200
- +++ bogofilter-1.2.2/configure 2010-11-09 23:29:25.894996376 +0100
- @@ -10284,93 +10284,7 @@ $as_echo "$LIBDB" >&6; }
-
- saveLIBS="$LIBS"
- LIBS="$LIBS $LIBDB"
- - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if a program can be linked against Berkeley DB and run" >&5
- -$as_echo_n "checking if a program can be linked against Berkeley DB and run... " >&6; }
- - if test "$cross_compiling" = yes; then :
- - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- -as_fn_error "cannot run test program while cross compiling
- -See \`config.log' for more details." "$LINENO" 5; }
- -else
- - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- -/* end confdefs.h. */
- -
- -#ifdef HAVE_INTTYPES_H
- -#include <inttypes.h>
- -#endif
- -#include <db.h>
- -
- -int
- -main ()
- -{
- -
- -return 0;
- -
- - ;
- - return 0;
- -}
- -_ACEOF
- -if ac_fn_c_try_run "$LINENO"; then :
- -
- -else
- - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- -$as_echo "no" >&6; }
- - as_fn_error "Cannot run a program linked against libdb.
- -Did you adjust your library search path to include your libdb?" "$LINENO" 5
- -fi
- -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- - conftest.$ac_objext conftest.beam conftest.$ac_ext
- -fi
- -
- - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- -$as_echo "yes" >&6; }
- -
- - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Berkeley DB header and library versions match" >&5
- -$as_echo_n "checking if Berkeley DB header and library versions match... " >&6; }
- - rm -r -f bfadtestdir
- - mkdir bfadtestdir
- - if test "$cross_compiling" = yes; then :
- - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
- -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- -as_fn_error "cannot run test program while cross compiling
- -See \`config.log' for more details." "$LINENO" 5; }
- -else
- - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- -/* end confdefs.h. */
- -
- - #include <stdlib.h>
- - #include <stdio.h>
- -#ifdef HAVE_INTTYPES_H
- -#include <inttypes.h>
- -#endif
- - #include <db.h>
-
- -int
- -main ()
- -{
- -
- - 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);
- -
- - ;
- - return 0;
- -}
- -_ACEOF
- -if ac_fn_c_try_run "$LINENO"; then :
- -
- -else
- - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
- -$as_echo "no" >&6; }
- - as_fn_error "db.h header file and db library version do not match." "$LINENO" 5
- -fi
- -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- - conftest.$ac_objext conftest.beam conftest.$ac_ext
- -fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
|