<<< Date Index >>>     <<< Thread Index >>>

Re: mutt headercache configure.in



Hello,

* Torsten Veller <torsten@xxxxxxxxxx> [050606 10:19]:
> hier ein Ausschnitt der configure.in von mutt-1.5.8 (1.5.9 habe ich
> leider nicht) bzw. muttng (rev. 309):

>    for l in `echo $BDB_VERSIONS`; do
>        CPPFLAGS="-I$BDB_INCLUDE_DIR $OLDCPPFLAGS"
>        LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$l"
>        AC_TRY_LINK([
>            #include <stdlib.h>
>            #include <db.h>
>        ],[ 
>            DB *db = NULL;
>            db->open(db,NULL,NULL,NULL,0,0,0);
>        ],[ 
>            ac_cv_dbcreate=yes
>            BDB_LIB="$l"
>            break
>        ])
>    done
>    test x$ac_dbcreate = xyes && break

good catch.

> Sollte der Test nicht ac_cv_dbcreate testen?

> <https://bugs.gentoo.org/show_bug.cgi?id=95139>

patch attached.

        Thomas
diff-tree a0490f7ee97e0007a8cd19cd29c9abf23d6d24c7 (from 
ee02ec8dd31598430d6508cbe2a38ed999905c10)
Author: Thomas Glanzmann <sithglan@xxxxxxxxxxxxxxxxxxxx>
Date:   Mon Jun 6 10:26:52 2005 +0200
    
    hcache: fix typo in configure.in: ac_dbcreate vs ac_cv_dbcreate spotted by 
Torsten Veller <torsten@xxxxxxxxxx>
    fixes https://bugs.gentoo.org/show_bug.cgi?id=95139

diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -865,7 +865,7 @@ AC_ARG_ENABLE(hcache, AC_HELP_STRING([--
                                 break
                             ])
                         done
-                        test x$ac_dbcreate = xyes && break
+                        test x$ac_cv_dbcreate = xyes && break
                     fi
                 fi
             done