[Date Prev][Date Next] [Chronological] [Thread] [Top]

configure.in 1.418 breaks sasl 1 (ITS#1824)

Full_Name: Norbert Klasen
Version: head-20020516
OS: SuSE Linux 7.3
Submission from: (NULL) (

It seem that the Cyrus SASL library version check only checks for sasl/sasl.h
and not also for sasl.h:

configure:22601: checking for sasl/sasl.h
configure:22611: cc -E -I/usr/local/BerkeleyDB.4.0/include conftest.c
configure:22608: sasl/sasl.h: No such file or directory
configure:22617: $? = 1
configure: failed program was:
#line 22607 "configure"
#include "confdefs.h"
#include <sasl/sasl.h>
configure:22636: result: no
configure:22601: checking for sasl.h
configure:22611: cc -E -I/usr/local/BerkeleyDB.4.0/include conftest.c
configure:22617: $? = 0
configure:22636: result: yes
configure:22647: checking for sasl_client_init in -lsasl2
configure:22674: cc -o conftest -O2 -I/usr/local/BerkeleyDB.4.0/include
-L/usr/local/BerkeleyDB.4.0//lib -Wl,-rpath,/usr/local/BerkeleyDB.4.0/lib
conftest.c -lsasl2  -lresolv -ldl  >&5
/usr/i486-suse-linux/bin/ld: cannot find -lsasl2
collect2: ld returned 1 exit status
configure:22677: $? = 1
configure: failed program was:
#line 22655 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char sasl_client_init ();
main ()
sasl_client_init ();
  return 0;
configure:22694: result: no
configure:22699: checking for sasl_client_init in -lsasl
configure:22726: cc -o conftest -O2 -I/usr/local/BerkeleyDB.4.0/include
-L/usr/local/BerkeleyDB.4.0//lib -Wl,-rpath,/usr/local/BerkeleyDB.4.0/lib
conftest.c -lsasl  -lresolv -ldl  >&5
configure:22729: $? = 0
configure:22732: test -s conftest
configure:22735: $? = 0
configure:22746: result: yes
configure:22772: checking Cyrus SASL library version
configure:22781: sasl/sasl.h: No such file or directory
configure:22804: result: no
configure:22809: error: Cyrus SASL library located but incompatible