11815
12485
enable_fast_install=needless
11820
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11821
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11822
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11823
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11824
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11825
echo "$as_me:$LINENO: result: yes" >&5
11826
echo "${ECHO_T}yes" >&6
11828
# FIXME - insert some real tests, host_os isn't really good enough
11831
if test -n "$STRIP" ; then
11832
striplib="$STRIP -x"
11833
echo "$as_me:$LINENO: result: yes" >&5
11834
echo "${ECHO_T}yes" >&6
11836
echo "$as_me:$LINENO: result: no" >&5
11837
echo "${ECHO_T}no" >&6
11841
echo "$as_me:$LINENO: result: no" >&5
11842
echo "${ECHO_T}no" >&6
11847
if test "x$enable_dlopen" != xyes; then
11848
enable_dlopen=unknown
11849
enable_dlopen_self=unknown
11850
enable_dlopen_self_static=unknown
11857
lt_cv_dlopen="load_add_on"
11859
lt_cv_dlopen_self=yes
11863
lt_cv_dlopen="LoadLibrary"
11868
lt_cv_dlopen="dlopen"
11873
# if libdl is installed we need to link against it
11874
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11875
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11876
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11877
echo $ECHO_N "(cached) $ECHO_C" >&6
11879
ac_check_lib_save_LIBS=$LIBS
11881
cat >conftest.$ac_ext <<_ACEOF
11884
cat confdefs.h >>conftest.$ac_ext
11885
cat >>conftest.$ac_ext <<_ACEOF
11886
/* end confdefs.h. */
11888
/* Override any gcc2 internal prototype to avoid an error. */
11892
/* We use char because int might match the return type of a gcc2
11893
builtin and then its argument prototype would still apply. */
11903
rm -f conftest.$ac_objext conftest$ac_exeext
11904
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11905
(eval $ac_link) 2>conftest.er1
11907
grep -v '^ *+' conftest.er1 >conftest.err
11909
cat conftest.err >&5
11910
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911
(exit $ac_status); } &&
11912
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11913
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914
(eval $ac_try) 2>&5
11916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917
(exit $ac_status); }; } &&
11918
{ ac_try='test -s conftest$ac_exeext'
11919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920
(eval $ac_try) 2>&5
11922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923
(exit $ac_status); }; }; then
11924
ac_cv_lib_dl_dlopen=yes
11926
echo "$as_me: failed program was:" >&5
11927
sed 's/^/| /' conftest.$ac_ext >&5
11929
ac_cv_lib_dl_dlopen=no
11931
rm -f conftest.err conftest.$ac_objext \
11932
conftest$ac_exeext conftest.$ac_ext
11933
LIBS=$ac_check_lib_save_LIBS
11935
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11936
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11937
if test $ac_cv_lib_dl_dlopen = yes; then
11938
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11941
lt_cv_dlopen="dyld"
11943
lt_cv_dlopen_self=yes
11950
echo "$as_me:$LINENO: checking for shl_load" >&5
11951
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11952
if test "${ac_cv_func_shl_load+set}" = set; then
11953
echo $ECHO_N "(cached) $ECHO_C" >&6
11955
cat >conftest.$ac_ext <<_ACEOF
11958
cat confdefs.h >>conftest.$ac_ext
11959
cat >>conftest.$ac_ext <<_ACEOF
11960
/* end confdefs.h. */
11961
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11962
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11963
#define shl_load innocuous_shl_load
11965
/* System header to define __stub macros and hopefully few prototypes,
11966
which can conflict with char shl_load (); below.
11967
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11968
<limits.h> exists even on freestanding compilers. */
11971
# include <limits.h>
11973
# include <assert.h>
11978
/* Override any gcc2 internal prototype to avoid an error. */
11983
/* We use char because int might match the return type of a gcc2
11984
builtin and then its argument prototype would still apply. */
11986
/* The GNU C library defines this for functions which it implements
11987
to always fail with ENOSYS. Some functions are actually named
11988
something starting with __ and the normal name is an alias. */
11989
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11992
char (*f) () = shl_load;
12001
return f != shl_load;
12006
rm -f conftest.$ac_objext conftest$ac_exeext
12007
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12008
(eval $ac_link) 2>conftest.er1
12010
grep -v '^ *+' conftest.er1 >conftest.err
12012
cat conftest.err >&5
12013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014
(exit $ac_status); } &&
12015
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017
(eval $ac_try) 2>&5
12019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020
(exit $ac_status); }; } &&
12021
{ ac_try='test -s conftest$ac_exeext'
12022
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023
(eval $ac_try) 2>&5
12025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026
(exit $ac_status); }; }; then
12027
ac_cv_func_shl_load=yes
12029
echo "$as_me: failed program was:" >&5
12030
sed 's/^/| /' conftest.$ac_ext >&5
12032
ac_cv_func_shl_load=no
12034
rm -f conftest.err conftest.$ac_objext \
12035
conftest$ac_exeext conftest.$ac_ext
12037
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12038
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12039
if test $ac_cv_func_shl_load = yes; then
12040
lt_cv_dlopen="shl_load"
12042
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12043
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12044
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12045
echo $ECHO_N "(cached) $ECHO_C" >&6
12047
ac_check_lib_save_LIBS=$LIBS
12049
cat >conftest.$ac_ext <<_ACEOF
12052
cat confdefs.h >>conftest.$ac_ext
12053
cat >>conftest.$ac_ext <<_ACEOF
12054
/* end confdefs.h. */
12056
/* Override any gcc2 internal prototype to avoid an error. */
12060
/* We use char because int might match the return type of a gcc2
12061
builtin and then its argument prototype would still apply. */
12071
rm -f conftest.$ac_objext conftest$ac_exeext
12072
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12073
(eval $ac_link) 2>conftest.er1
12075
grep -v '^ *+' conftest.er1 >conftest.err
12077
cat conftest.err >&5
12078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079
(exit $ac_status); } &&
12080
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12081
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082
(eval $ac_try) 2>&5
12084
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085
(exit $ac_status); }; } &&
12086
{ ac_try='test -s conftest$ac_exeext'
12087
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088
(eval $ac_try) 2>&5
12090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091
(exit $ac_status); }; }; then
12092
ac_cv_lib_dld_shl_load=yes
12094
echo "$as_me: failed program was:" >&5
12095
sed 's/^/| /' conftest.$ac_ext >&5
12097
ac_cv_lib_dld_shl_load=no
12099
rm -f conftest.err conftest.$ac_objext \
12100
conftest$ac_exeext conftest.$ac_ext
12101
LIBS=$ac_check_lib_save_LIBS
12103
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12104
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12105
if test $ac_cv_lib_dld_shl_load = yes; then
12106
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12108
echo "$as_me:$LINENO: checking for dlopen" >&5
12109
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12110
if test "${ac_cv_func_dlopen+set}" = set; then
12111
echo $ECHO_N "(cached) $ECHO_C" >&6
12113
cat >conftest.$ac_ext <<_ACEOF
12116
cat confdefs.h >>conftest.$ac_ext
12117
cat >>conftest.$ac_ext <<_ACEOF
12118
/* end confdefs.h. */
12119
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12120
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12121
#define dlopen innocuous_dlopen
12123
/* System header to define __stub macros and hopefully few prototypes,
12124
which can conflict with char dlopen (); below.
12125
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12126
<limits.h> exists even on freestanding compilers. */
12129
# include <limits.h>
12131
# include <assert.h>
12136
/* Override any gcc2 internal prototype to avoid an error. */
12141
/* We use char because int might match the return type of a gcc2
12142
builtin and then its argument prototype would still apply. */
12144
/* The GNU C library defines this for functions which it implements
12145
to always fail with ENOSYS. Some functions are actually named
12146
something starting with __ and the normal name is an alias. */
12147
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12150
char (*f) () = dlopen;
12159
return f != dlopen;
12164
rm -f conftest.$ac_objext conftest$ac_exeext
12165
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12166
(eval $ac_link) 2>conftest.er1
12168
grep -v '^ *+' conftest.er1 >conftest.err
12170
cat conftest.err >&5
12171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172
(exit $ac_status); } &&
12173
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12174
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175
(eval $ac_try) 2>&5
12177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178
(exit $ac_status); }; } &&
12179
{ ac_try='test -s conftest$ac_exeext'
12180
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181
(eval $ac_try) 2>&5
12183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184
(exit $ac_status); }; }; then
12185
ac_cv_func_dlopen=yes
12187
echo "$as_me: failed program was:" >&5
12188
sed 's/^/| /' conftest.$ac_ext >&5
12190
ac_cv_func_dlopen=no
12192
rm -f conftest.err conftest.$ac_objext \
12193
conftest$ac_exeext conftest.$ac_ext
12195
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12196
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12197
if test $ac_cv_func_dlopen = yes; then
12198
lt_cv_dlopen="dlopen"
12200
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12201
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12202
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12203
echo $ECHO_N "(cached) $ECHO_C" >&6
12205
ac_check_lib_save_LIBS=$LIBS
12207
cat >conftest.$ac_ext <<_ACEOF
12210
cat confdefs.h >>conftest.$ac_ext
12211
cat >>conftest.$ac_ext <<_ACEOF
12212
/* end confdefs.h. */
12214
/* Override any gcc2 internal prototype to avoid an error. */
12218
/* We use char because int might match the return type of a gcc2
12219
builtin and then its argument prototype would still apply. */
12229
rm -f conftest.$ac_objext conftest$ac_exeext
12230
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12231
(eval $ac_link) 2>conftest.er1
12233
grep -v '^ *+' conftest.er1 >conftest.err
12235
cat conftest.err >&5
12236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12237
(exit $ac_status); } &&
12238
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12240
(eval $ac_try) 2>&5
12242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12243
(exit $ac_status); }; } &&
12244
{ ac_try='test -s conftest$ac_exeext'
12245
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12246
(eval $ac_try) 2>&5
12248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249
(exit $ac_status); }; }; then
12250
ac_cv_lib_dl_dlopen=yes
12252
echo "$as_me: failed program was:" >&5
12253
sed 's/^/| /' conftest.$ac_ext >&5
12255
ac_cv_lib_dl_dlopen=no
12257
rm -f conftest.err conftest.$ac_objext \
12258
conftest$ac_exeext conftest.$ac_ext
12259
LIBS=$ac_check_lib_save_LIBS
12261
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12262
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12263
if test $ac_cv_lib_dl_dlopen = yes; then
12264
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12266
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12267
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12268
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12269
echo $ECHO_N "(cached) $ECHO_C" >&6
12271
ac_check_lib_save_LIBS=$LIBS
12272
LIBS="-lsvld $LIBS"
12273
cat >conftest.$ac_ext <<_ACEOF
12276
cat confdefs.h >>conftest.$ac_ext
12277
cat >>conftest.$ac_ext <<_ACEOF
12278
/* end confdefs.h. */
12280
/* Override any gcc2 internal prototype to avoid an error. */
12284
/* We use char because int might match the return type of a gcc2
12285
builtin and then its argument prototype would still apply. */
12295
rm -f conftest.$ac_objext conftest$ac_exeext
12296
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12297
(eval $ac_link) 2>conftest.er1
12299
grep -v '^ *+' conftest.er1 >conftest.err
12301
cat conftest.err >&5
12302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303
(exit $ac_status); } &&
12304
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306
(eval $ac_try) 2>&5
12308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309
(exit $ac_status); }; } &&
12310
{ ac_try='test -s conftest$ac_exeext'
12311
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12312
(eval $ac_try) 2>&5
12314
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315
(exit $ac_status); }; }; then
12316
ac_cv_lib_svld_dlopen=yes
12318
echo "$as_me: failed program was:" >&5
12319
sed 's/^/| /' conftest.$ac_ext >&5
12321
ac_cv_lib_svld_dlopen=no
12323
rm -f conftest.err conftest.$ac_objext \
12324
conftest$ac_exeext conftest.$ac_ext
12325
LIBS=$ac_check_lib_save_LIBS
12327
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12328
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12329
if test $ac_cv_lib_svld_dlopen = yes; then
12330
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12332
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12333
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12334
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12335
echo $ECHO_N "(cached) $ECHO_C" >&6
12337
ac_check_lib_save_LIBS=$LIBS
12339
cat >conftest.$ac_ext <<_ACEOF
12342
cat confdefs.h >>conftest.$ac_ext
12343
cat >>conftest.$ac_ext <<_ACEOF
12344
/* end confdefs.h. */
12346
/* Override any gcc2 internal prototype to avoid an error. */
12350
/* We use char because int might match the return type of a gcc2
12351
builtin and then its argument prototype would still apply. */
12361
rm -f conftest.$ac_objext conftest$ac_exeext
12362
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12363
(eval $ac_link) 2>conftest.er1
12365
grep -v '^ *+' conftest.er1 >conftest.err
12367
cat conftest.err >&5
12368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369
(exit $ac_status); } &&
12370
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12371
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372
(eval $ac_try) 2>&5
12374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375
(exit $ac_status); }; } &&
12376
{ ac_try='test -s conftest$ac_exeext'
12377
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12378
(eval $ac_try) 2>&5
12380
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12381
(exit $ac_status); }; }; then
12382
ac_cv_lib_dld_dld_link=yes
12384
echo "$as_me: failed program was:" >&5
12385
sed 's/^/| /' conftest.$ac_ext >&5
12387
ac_cv_lib_dld_dld_link=no
12389
rm -f conftest.err conftest.$ac_objext \
12390
conftest$ac_exeext conftest.$ac_ext
12391
LIBS=$ac_check_lib_save_LIBS
12393
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12394
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12395
if test $ac_cv_lib_dld_dld_link = yes; then
12396
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12417
if test "x$lt_cv_dlopen" != xno; then
12423
case $lt_cv_dlopen in
12425
save_CPPFLAGS="$CPPFLAGS"
12426
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12428
save_LDFLAGS="$LDFLAGS"
12429
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12432
LIBS="$lt_cv_dlopen_libs $LIBS"
12434
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12435
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12436
if test "${lt_cv_dlopen_self+set}" = set; then
12437
echo $ECHO_N "(cached) $ECHO_C" >&6
12439
if test "$cross_compiling" = yes; then :
12440
lt_cv_dlopen_self=cross
12442
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12443
lt_status=$lt_dlunknown
12444
cat > conftest.$ac_ext <<EOF
12445
#line 12445 "configure"
12446
#include "confdefs.h"
12455
# define LT_DLGLOBAL RTLD_GLOBAL
12458
# define LT_DLGLOBAL DL_GLOBAL
12460
# define LT_DLGLOBAL 0
12464
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12465
find out it does not work in some platform. */
12466
#ifndef LT_DLLAZY_OR_NOW
12468
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12471
# define LT_DLLAZY_OR_NOW DL_LAZY
12474
# define LT_DLLAZY_OR_NOW RTLD_NOW
12477
# define LT_DLLAZY_OR_NOW DL_NOW
12479
# define LT_DLLAZY_OR_NOW 0
12487
extern "C" void exit (int);
12490
void fnord() { int i=42;}
12493
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12494
int status = $lt_dlunknown;
12498
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12499
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12500
/* dlclose (self); */
12506
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12507
(eval $ac_link) 2>&5
12509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12511
(./conftest; exit; ) 2>/dev/null
12513
case x$lt_status in
12514
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12515
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12516
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12519
# compilation failed
12520
lt_cv_dlopen_self=no
12527
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12528
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12530
if test "x$lt_cv_dlopen_self" = xyes; then
12531
LDFLAGS="$LDFLAGS $link_static_flag"
12532
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12533
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12534
if test "${lt_cv_dlopen_self_static+set}" = set; then
12535
echo $ECHO_N "(cached) $ECHO_C" >&6
12537
if test "$cross_compiling" = yes; then :
12538
lt_cv_dlopen_self_static=cross
12540
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12541
lt_status=$lt_dlunknown
12542
cat > conftest.$ac_ext <<EOF
12543
#line 12543 "configure"
12544
#include "confdefs.h"
12553
# define LT_DLGLOBAL RTLD_GLOBAL
12556
# define LT_DLGLOBAL DL_GLOBAL
12558
# define LT_DLGLOBAL 0
12562
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12563
find out it does not work in some platform. */
12564
#ifndef LT_DLLAZY_OR_NOW
12566
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12569
# define LT_DLLAZY_OR_NOW DL_LAZY
12572
# define LT_DLLAZY_OR_NOW RTLD_NOW
12575
# define LT_DLLAZY_OR_NOW DL_NOW
12577
# define LT_DLLAZY_OR_NOW 0
12585
extern "C" void exit (int);
12588
void fnord() { int i=42;}
12591
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12592
int status = $lt_dlunknown;
12596
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12597
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12598
/* dlclose (self); */
12604
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12605
(eval $ac_link) 2>&5
12607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12609
(./conftest; exit; ) 2>/dev/null
12611
case x$lt_status in
12612
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12613
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12614
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12617
# compilation failed
12618
lt_cv_dlopen_self_static=no
12625
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12626
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12629
CPPFLAGS="$save_CPPFLAGS"
12630
LDFLAGS="$save_LDFLAGS"
12635
case $lt_cv_dlopen_self in
12636
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12637
*) enable_dlopen_self=unknown ;;
12640
case $lt_cv_dlopen_self_static in
12641
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12642
*) enable_dlopen_self_static=unknown ;;
12647
12489
# The else clause should only fire when bootstrapping the
12648
12490
# libtool distribution, otherwise you forgot to ship ltmain.sh
17326
17707
enable_fast_install=needless
17331
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17332
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17333
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17334
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17335
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17336
echo "$as_me:$LINENO: result: yes" >&5
17337
echo "${ECHO_T}yes" >&6
17339
# FIXME - insert some real tests, host_os isn't really good enough
17342
if test -n "$STRIP" ; then
17343
striplib="$STRIP -x"
17344
echo "$as_me:$LINENO: result: yes" >&5
17345
echo "${ECHO_T}yes" >&6
17347
echo "$as_me:$LINENO: result: no" >&5
17348
echo "${ECHO_T}no" >&6
17352
echo "$as_me:$LINENO: result: no" >&5
17353
echo "${ECHO_T}no" >&6
17358
if test "x$enable_dlopen" != xyes; then
17359
enable_dlopen=unknown
17360
enable_dlopen_self=unknown
17361
enable_dlopen_self_static=unknown
17368
lt_cv_dlopen="load_add_on"
17370
lt_cv_dlopen_self=yes
17374
lt_cv_dlopen="LoadLibrary"
17379
lt_cv_dlopen="dlopen"
17384
# if libdl is installed we need to link against it
17385
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17386
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17387
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17388
echo $ECHO_N "(cached) $ECHO_C" >&6
17390
ac_check_lib_save_LIBS=$LIBS
17392
cat >conftest.$ac_ext <<_ACEOF
17395
cat confdefs.h >>conftest.$ac_ext
17396
cat >>conftest.$ac_ext <<_ACEOF
17397
/* end confdefs.h. */
17399
/* Override any gcc2 internal prototype to avoid an error. */
17403
/* We use char because int might match the return type of a gcc2
17404
builtin and then its argument prototype would still apply. */
17414
rm -f conftest.$ac_objext conftest$ac_exeext
17415
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17416
(eval $ac_link) 2>conftest.er1
17418
grep -v '^ *+' conftest.er1 >conftest.err
17420
cat conftest.err >&5
17421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422
(exit $ac_status); } &&
17423
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17424
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17425
(eval $ac_try) 2>&5
17427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428
(exit $ac_status); }; } &&
17429
{ ac_try='test -s conftest$ac_exeext'
17430
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431
(eval $ac_try) 2>&5
17433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434
(exit $ac_status); }; }; then
17435
ac_cv_lib_dl_dlopen=yes
17437
echo "$as_me: failed program was:" >&5
17438
sed 's/^/| /' conftest.$ac_ext >&5
17440
ac_cv_lib_dl_dlopen=no
17442
rm -f conftest.err conftest.$ac_objext \
17443
conftest$ac_exeext conftest.$ac_ext
17444
LIBS=$ac_check_lib_save_LIBS
17446
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17447
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17448
if test $ac_cv_lib_dl_dlopen = yes; then
17449
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17452
lt_cv_dlopen="dyld"
17454
lt_cv_dlopen_self=yes
17461
echo "$as_me:$LINENO: checking for shl_load" >&5
17462
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17463
if test "${ac_cv_func_shl_load+set}" = set; then
17464
echo $ECHO_N "(cached) $ECHO_C" >&6
17466
cat >conftest.$ac_ext <<_ACEOF
17469
cat confdefs.h >>conftest.$ac_ext
17470
cat >>conftest.$ac_ext <<_ACEOF
17471
/* end confdefs.h. */
17472
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17473
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17474
#define shl_load innocuous_shl_load
17476
/* System header to define __stub macros and hopefully few prototypes,
17477
which can conflict with char shl_load (); below.
17478
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17479
<limits.h> exists even on freestanding compilers. */
17482
# include <limits.h>
17484
# include <assert.h>
17489
/* Override any gcc2 internal prototype to avoid an error. */
17494
/* We use char because int might match the return type of a gcc2
17495
builtin and then its argument prototype would still apply. */
17497
/* The GNU C library defines this for functions which it implements
17498
to always fail with ENOSYS. Some functions are actually named
17499
something starting with __ and the normal name is an alias. */
17500
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17503
char (*f) () = shl_load;
17512
return f != shl_load;
17517
rm -f conftest.$ac_objext conftest$ac_exeext
17518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17519
(eval $ac_link) 2>conftest.er1
17521
grep -v '^ *+' conftest.er1 >conftest.err
17523
cat conftest.err >&5
17524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525
(exit $ac_status); } &&
17526
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528
(eval $ac_try) 2>&5
17530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531
(exit $ac_status); }; } &&
17532
{ ac_try='test -s conftest$ac_exeext'
17533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534
(eval $ac_try) 2>&5
17536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537
(exit $ac_status); }; }; then
17538
ac_cv_func_shl_load=yes
17540
echo "$as_me: failed program was:" >&5
17541
sed 's/^/| /' conftest.$ac_ext >&5
17543
ac_cv_func_shl_load=no
17545
rm -f conftest.err conftest.$ac_objext \
17546
conftest$ac_exeext conftest.$ac_ext
17548
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17549
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17550
if test $ac_cv_func_shl_load = yes; then
17551
lt_cv_dlopen="shl_load"
17553
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17554
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17555
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17556
echo $ECHO_N "(cached) $ECHO_C" >&6
17558
ac_check_lib_save_LIBS=$LIBS
17560
cat >conftest.$ac_ext <<_ACEOF
17563
cat confdefs.h >>conftest.$ac_ext
17564
cat >>conftest.$ac_ext <<_ACEOF
17565
/* end confdefs.h. */
17567
/* Override any gcc2 internal prototype to avoid an error. */
17571
/* We use char because int might match the return type of a gcc2
17572
builtin and then its argument prototype would still apply. */
17582
rm -f conftest.$ac_objext conftest$ac_exeext
17583
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17584
(eval $ac_link) 2>conftest.er1
17586
grep -v '^ *+' conftest.er1 >conftest.err
17588
cat conftest.err >&5
17589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590
(exit $ac_status); } &&
17591
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17592
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17593
(eval $ac_try) 2>&5
17595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596
(exit $ac_status); }; } &&
17597
{ ac_try='test -s conftest$ac_exeext'
17598
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599
(eval $ac_try) 2>&5
17601
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602
(exit $ac_status); }; }; then
17603
ac_cv_lib_dld_shl_load=yes
17605
echo "$as_me: failed program was:" >&5
17606
sed 's/^/| /' conftest.$ac_ext >&5
17608
ac_cv_lib_dld_shl_load=no
17610
rm -f conftest.err conftest.$ac_objext \
17611
conftest$ac_exeext conftest.$ac_ext
17612
LIBS=$ac_check_lib_save_LIBS
17614
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17615
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17616
if test $ac_cv_lib_dld_shl_load = yes; then
17617
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17619
echo "$as_me:$LINENO: checking for dlopen" >&5
17620
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17621
if test "${ac_cv_func_dlopen+set}" = set; then
17622
echo $ECHO_N "(cached) $ECHO_C" >&6
17624
cat >conftest.$ac_ext <<_ACEOF
17627
cat confdefs.h >>conftest.$ac_ext
17628
cat >>conftest.$ac_ext <<_ACEOF
17629
/* end confdefs.h. */
17630
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17631
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17632
#define dlopen innocuous_dlopen
17634
/* System header to define __stub macros and hopefully few prototypes,
17635
which can conflict with char dlopen (); below.
17636
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17637
<limits.h> exists even on freestanding compilers. */
17640
# include <limits.h>
17642
# include <assert.h>
17647
/* Override any gcc2 internal prototype to avoid an error. */
17652
/* We use char because int might match the return type of a gcc2
17653
builtin and then its argument prototype would still apply. */
17655
/* The GNU C library defines this for functions which it implements
17656
to always fail with ENOSYS. Some functions are actually named
17657
something starting with __ and the normal name is an alias. */
17658
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17661
char (*f) () = dlopen;
17670
return f != dlopen;
17675
rm -f conftest.$ac_objext conftest$ac_exeext
17676
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17677
(eval $ac_link) 2>conftest.er1
17679
grep -v '^ *+' conftest.er1 >conftest.err
17681
cat conftest.err >&5
17682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683
(exit $ac_status); } &&
17684
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686
(eval $ac_try) 2>&5
17688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689
(exit $ac_status); }; } &&
17690
{ ac_try='test -s conftest$ac_exeext'
17691
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692
(eval $ac_try) 2>&5
17694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695
(exit $ac_status); }; }; then
17696
ac_cv_func_dlopen=yes
17698
echo "$as_me: failed program was:" >&5
17699
sed 's/^/| /' conftest.$ac_ext >&5
17701
ac_cv_func_dlopen=no
17703
rm -f conftest.err conftest.$ac_objext \
17704
conftest$ac_exeext conftest.$ac_ext
17706
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17707
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17708
if test $ac_cv_func_dlopen = yes; then
17709
lt_cv_dlopen="dlopen"
17711
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17712
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17713
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17714
echo $ECHO_N "(cached) $ECHO_C" >&6
17716
ac_check_lib_save_LIBS=$LIBS
17718
cat >conftest.$ac_ext <<_ACEOF
17721
cat confdefs.h >>conftest.$ac_ext
17722
cat >>conftest.$ac_ext <<_ACEOF
17723
/* end confdefs.h. */
17725
/* Override any gcc2 internal prototype to avoid an error. */
17729
/* We use char because int might match the return type of a gcc2
17730
builtin and then its argument prototype would still apply. */
17740
rm -f conftest.$ac_objext conftest$ac_exeext
17741
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17742
(eval $ac_link) 2>conftest.er1
17744
grep -v '^ *+' conftest.er1 >conftest.err
17746
cat conftest.err >&5
17747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748
(exit $ac_status); } &&
17749
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751
(eval $ac_try) 2>&5
17753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754
(exit $ac_status); }; } &&
17755
{ ac_try='test -s conftest$ac_exeext'
17756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757
(eval $ac_try) 2>&5
17759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760
(exit $ac_status); }; }; then
17761
ac_cv_lib_dl_dlopen=yes
17763
echo "$as_me: failed program was:" >&5
17764
sed 's/^/| /' conftest.$ac_ext >&5
17766
ac_cv_lib_dl_dlopen=no
17768
rm -f conftest.err conftest.$ac_objext \
17769
conftest$ac_exeext conftest.$ac_ext
17770
LIBS=$ac_check_lib_save_LIBS
17772
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17773
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17774
if test $ac_cv_lib_dl_dlopen = yes; then
17775
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17777
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17778
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17779
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17780
echo $ECHO_N "(cached) $ECHO_C" >&6
17782
ac_check_lib_save_LIBS=$LIBS
17783
LIBS="-lsvld $LIBS"
17784
cat >conftest.$ac_ext <<_ACEOF
17787
cat confdefs.h >>conftest.$ac_ext
17788
cat >>conftest.$ac_ext <<_ACEOF
17789
/* end confdefs.h. */
17791
/* Override any gcc2 internal prototype to avoid an error. */
17795
/* We use char because int might match the return type of a gcc2
17796
builtin and then its argument prototype would still apply. */
17806
rm -f conftest.$ac_objext conftest$ac_exeext
17807
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17808
(eval $ac_link) 2>conftest.er1
17810
grep -v '^ *+' conftest.er1 >conftest.err
17812
cat conftest.err >&5
17813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17814
(exit $ac_status); } &&
17815
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17816
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817
(eval $ac_try) 2>&5
17819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820
(exit $ac_status); }; } &&
17821
{ ac_try='test -s conftest$ac_exeext'
17822
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823
(eval $ac_try) 2>&5
17825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826
(exit $ac_status); }; }; then
17827
ac_cv_lib_svld_dlopen=yes
17829
echo "$as_me: failed program was:" >&5
17830
sed 's/^/| /' conftest.$ac_ext >&5
17832
ac_cv_lib_svld_dlopen=no
17834
rm -f conftest.err conftest.$ac_objext \
17835
conftest$ac_exeext conftest.$ac_ext
17836
LIBS=$ac_check_lib_save_LIBS
17838
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17839
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17840
if test $ac_cv_lib_svld_dlopen = yes; then
17841
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17843
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17844
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17845
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17846
echo $ECHO_N "(cached) $ECHO_C" >&6
17848
ac_check_lib_save_LIBS=$LIBS
17850
cat >conftest.$ac_ext <<_ACEOF
17853
cat confdefs.h >>conftest.$ac_ext
17854
cat >>conftest.$ac_ext <<_ACEOF
17855
/* end confdefs.h. */
17857
/* Override any gcc2 internal prototype to avoid an error. */
17861
/* We use char because int might match the return type of a gcc2
17862
builtin and then its argument prototype would still apply. */
17872
rm -f conftest.$ac_objext conftest$ac_exeext
17873
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17874
(eval $ac_link) 2>conftest.er1
17876
grep -v '^ *+' conftest.er1 >conftest.err
17878
cat conftest.err >&5
17879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880
(exit $ac_status); } &&
17881
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883
(eval $ac_try) 2>&5
17885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886
(exit $ac_status); }; } &&
17887
{ ac_try='test -s conftest$ac_exeext'
17888
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17889
(eval $ac_try) 2>&5
17891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17892
(exit $ac_status); }; }; then
17893
ac_cv_lib_dld_dld_link=yes
17895
echo "$as_me: failed program was:" >&5
17896
sed 's/^/| /' conftest.$ac_ext >&5
17898
ac_cv_lib_dld_dld_link=no
17900
rm -f conftest.err conftest.$ac_objext \
17901
conftest$ac_exeext conftest.$ac_ext
17902
LIBS=$ac_check_lib_save_LIBS
17904
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17905
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17906
if test $ac_cv_lib_dld_dld_link = yes; then
17907
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17928
if test "x$lt_cv_dlopen" != xno; then
17934
case $lt_cv_dlopen in
17936
save_CPPFLAGS="$CPPFLAGS"
17937
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17939
save_LDFLAGS="$LDFLAGS"
17940
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17943
LIBS="$lt_cv_dlopen_libs $LIBS"
17945
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17946
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17947
if test "${lt_cv_dlopen_self+set}" = set; then
17948
echo $ECHO_N "(cached) $ECHO_C" >&6
17950
if test "$cross_compiling" = yes; then :
17951
lt_cv_dlopen_self=cross
17953
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17954
lt_status=$lt_dlunknown
17955
cat > conftest.$ac_ext <<EOF
17956
#line 17956 "configure"
17957
#include "confdefs.h"
17966
# define LT_DLGLOBAL RTLD_GLOBAL
17969
# define LT_DLGLOBAL DL_GLOBAL
17971
# define LT_DLGLOBAL 0
17975
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17976
find out it does not work in some platform. */
17977
#ifndef LT_DLLAZY_OR_NOW
17979
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17982
# define LT_DLLAZY_OR_NOW DL_LAZY
17985
# define LT_DLLAZY_OR_NOW RTLD_NOW
17988
# define LT_DLLAZY_OR_NOW DL_NOW
17990
# define LT_DLLAZY_OR_NOW 0
17998
extern "C" void exit (int);
18001
void fnord() { int i=42;}
18004
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18005
int status = $lt_dlunknown;
18009
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18010
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18011
/* dlclose (self); */
18017
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18018
(eval $ac_link) 2>&5
18020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18022
(./conftest; exit; ) 2>/dev/null
18024
case x$lt_status in
18025
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18026
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18027
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18030
# compilation failed
18031
lt_cv_dlopen_self=no
18038
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18039
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18041
if test "x$lt_cv_dlopen_self" = xyes; then
18042
LDFLAGS="$LDFLAGS $link_static_flag"
18043
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18044
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18045
if test "${lt_cv_dlopen_self_static+set}" = set; then
18046
echo $ECHO_N "(cached) $ECHO_C" >&6
18048
if test "$cross_compiling" = yes; then :
18049
lt_cv_dlopen_self_static=cross
18051
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18052
lt_status=$lt_dlunknown
18053
cat > conftest.$ac_ext <<EOF
18054
#line 18054 "configure"
18055
#include "confdefs.h"
18064
# define LT_DLGLOBAL RTLD_GLOBAL
18067
# define LT_DLGLOBAL DL_GLOBAL
18069
# define LT_DLGLOBAL 0
18073
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18074
find out it does not work in some platform. */
18075
#ifndef LT_DLLAZY_OR_NOW
18077
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18080
# define LT_DLLAZY_OR_NOW DL_LAZY
18083
# define LT_DLLAZY_OR_NOW RTLD_NOW
18086
# define LT_DLLAZY_OR_NOW DL_NOW
18088
# define LT_DLLAZY_OR_NOW 0
18096
extern "C" void exit (int);
18099
void fnord() { int i=42;}
18102
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18103
int status = $lt_dlunknown;
18107
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18108
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18109
/* dlclose (self); */
18115
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18116
(eval $ac_link) 2>&5
18118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18120
(./conftest; exit; ) 2>/dev/null
18122
case x$lt_status in
18123
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18124
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18125
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18128
# compilation failed
18129
lt_cv_dlopen_self_static=no
18136
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18137
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18140
CPPFLAGS="$save_CPPFLAGS"
18141
LDFLAGS="$save_LDFLAGS"
18146
case $lt_cv_dlopen_self in
18147
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18148
*) enable_dlopen_self=unknown ;;
18151
case $lt_cv_dlopen_self_static in
18152
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18153
*) enable_dlopen_self_static=unknown ;;
18158
17711
# The else clause should only fire when bootstrapping the
18159
17712
# libtool distribution, otherwise you forgot to ship ltmain.sh
18668
case "$am__api_version" in
18670
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
18671
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
18672
{ (exit 1); exit 1; }; }
18678
if test -n ""; then
18679
echo "$as_me:$LINENO: checking for intltool >= " >&5
18680
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6
18682
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 100 + $ 2; }'`
18683
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
18684
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 100 + VERSION[2];}' ${ac_aux_dir}/intltool-update.in`
18686
echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
18687
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6
18688
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
18689
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
18690
echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
18691
{ (exit 1); exit 1; }; }
18694
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18695
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18696
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18697
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18698
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
18699
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18700
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18701
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18702
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18703
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18704
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18705
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
18706
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18707
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18708
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18709
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18710
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18711
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
18732
# Use the tools built into the package, not the ones that are installed.
18733
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
18735
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
18737
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
18740
# Extract the first word of "perl", so it can be a program name with args.
18741
set dummy perl; ac_word=$2
18742
echo "$as_me:$LINENO: checking for $ac_word" >&5
18743
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18744
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
18745
echo $ECHO_N "(cached) $ECHO_C" >&6
18747
case $INTLTOOL_PERL in
18749
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
18752
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18753
for as_dir in $PATH
18756
test -z "$as_dir" && as_dir=.
18757
for ac_exec_ext in '' $ac_executable_extensions; do
18758
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18759
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
18760
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18769
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
18771
if test -n "$INTLTOOL_PERL"; then
18772
echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
18773
echo "${ECHO_T}$INTLTOOL_PERL" >&6
18775
echo "$as_me:$LINENO: result: no" >&5
18776
echo "${ECHO_T}no" >&6
18779
if test -z "$INTLTOOL_PERL"; then
18780
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
18781
echo "$as_me: error: perl not found; required for intltool" >&2;}
18782
{ (exit 1); exit 1; }; }
18784
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
18785
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
18786
echo "$as_me: error: perl 5.x required for intltool" >&2;}
18787
{ (exit 1); exit 1; }; }
18789
if test "x" != "xno-xml"; then
18790
echo "$as_me:$LINENO: checking for XML::Parser" >&5
18791
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6
18792
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
18793
echo "$as_me:$LINENO: result: ok" >&5
18794
echo "${ECHO_T}ok" >&6
18796
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
18797
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
18798
{ (exit 1); exit 1; }; }
18802
# Extract the first word of "iconv", so it can be a program name with args.
18803
set dummy iconv; ac_word=$2
18804
echo "$as_me:$LINENO: checking for $ac_word" >&5
18805
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18806
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
18807
echo $ECHO_N "(cached) $ECHO_C" >&6
18809
case $INTLTOOL_ICONV in
18811
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
18814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18815
for as_dir in $PATH
18818
test -z "$as_dir" && as_dir=.
18819
for ac_exec_ext in '' $ac_executable_extensions; do
18820
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18821
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
18822
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18828
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
18832
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
18834
if test -n "$INTLTOOL_ICONV"; then
18835
echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
18836
echo "${ECHO_T}$INTLTOOL_ICONV" >&6
18838
echo "$as_me:$LINENO: result: no" >&5
18839
echo "${ECHO_T}no" >&6
18842
# Extract the first word of "msgfmt", so it can be a program name with args.
18843
set dummy msgfmt; ac_word=$2
18844
echo "$as_me:$LINENO: checking for $ac_word" >&5
18845
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18846
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
18847
echo $ECHO_N "(cached) $ECHO_C" >&6
18849
case $INTLTOOL_MSGFMT in
18851
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
18854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18855
for as_dir in $PATH
18858
test -z "$as_dir" && as_dir=.
18859
for ac_exec_ext in '' $ac_executable_extensions; do
18860
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18861
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
18862
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18868
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
18872
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
18874
if test -n "$INTLTOOL_MSGFMT"; then
18875
echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
18876
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6
18878
echo "$as_me:$LINENO: result: no" >&5
18879
echo "${ECHO_T}no" >&6
18882
# Extract the first word of "msgmerge", so it can be a program name with args.
18883
set dummy msgmerge; ac_word=$2
18884
echo "$as_me:$LINENO: checking for $ac_word" >&5
18885
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18886
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
18887
echo $ECHO_N "(cached) $ECHO_C" >&6
18889
case $INTLTOOL_MSGMERGE in
18891
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
18894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18895
for as_dir in $PATH
18898
test -z "$as_dir" && as_dir=.
18899
for ac_exec_ext in '' $ac_executable_extensions; do
18900
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18901
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
18902
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18908
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
18912
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
18914
if test -n "$INTLTOOL_MSGMERGE"; then
18915
echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
18916
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6
18918
echo "$as_me:$LINENO: result: no" >&5
18919
echo "${ECHO_T}no" >&6
18922
# Extract the first word of "xgettext", so it can be a program name with args.
18923
set dummy xgettext; ac_word=$2
18924
echo "$as_me:$LINENO: checking for $ac_word" >&5
18925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18926
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
18927
echo $ECHO_N "(cached) $ECHO_C" >&6
18929
case $INTLTOOL_XGETTEXT in
18931
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
18934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18935
for as_dir in $PATH
18938
test -z "$as_dir" && as_dir=.
18939
for ac_exec_ext in '' $ac_executable_extensions; do
18940
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18941
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
18942
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18948
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
18952
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
18954
if test -n "$INTLTOOL_XGETTEXT"; then
18955
echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
18956
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6
18958
echo "$as_me:$LINENO: result: no" >&5
18959
echo "${ECHO_T}no" >&6
18966
ac_config_commands="$ac_config_commands intltool"
19069
18971
ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
19071
18973
echo "$as_me:$LINENO: checking for library containing strerror" >&5
22594
if test -z "$PKG_CONFIG"; then
22595
# Extract the first word of "pkg-config", so it can be a program name with args.
22596
set dummy pkg-config; ac_word=$2
22597
echo "$as_me:$LINENO: checking for $ac_word" >&5
22598
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22599
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22600
echo $ECHO_N "(cached) $ECHO_C" >&6
22602
case $PKG_CONFIG in
22604
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22607
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22608
for as_dir in $PATH
22611
test -z "$as_dir" && as_dir=.
22612
for ac_exec_ext in '' $ac_executable_extensions; do
22613
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22614
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22615
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22621
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22625
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22627
if test -n "$PKG_CONFIG"; then
22628
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22629
echo "${ECHO_T}$PKG_CONFIG" >&6
22631
echo "$as_me:$LINENO: result: no" >&5
22632
echo "${ECHO_T}no" >&6
22637
if test "$PKG_CONFIG" = "no" ; then
22638
echo "*** The pkg-config script could not be found. Make sure it is"
22639
echo "*** in your path, or set the PKG_CONFIG environment variable"
22640
echo "*** to the full path to pkg-config."
22641
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22643
PKG_CONFIG_MIN_VERSION=0.9.0
22644
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22645
echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.7.3" >&5
22646
echo $ECHO_N "checking for gtk+-2.0 >= 2.7.3... $ECHO_C" >&6
22648
if $PKG_CONFIG --exists "gtk+-2.0 >= 2.7.3" ; then
22649
echo "$as_me:$LINENO: result: yes" >&5
22650
echo "${ECHO_T}yes" >&6
22653
echo "$as_me:$LINENO: checking GTK_VER_CFLAGS" >&5
22654
echo $ECHO_N "checking GTK_VER_CFLAGS... $ECHO_C" >&6
22655
GTK_VER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.3"`
22656
echo "$as_me:$LINENO: result: $GTK_VER_CFLAGS" >&5
22657
echo "${ECHO_T}$GTK_VER_CFLAGS" >&6
22659
echo "$as_me:$LINENO: checking GTK_VER_LIBS" >&5
22660
echo $ECHO_N "checking GTK_VER_LIBS... $ECHO_C" >&6
22661
GTK_VER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.3"`
22662
echo "$as_me:$LINENO: result: $GTK_VER_LIBS" >&5
22663
echo "${ECHO_T}$GTK_VER_LIBS" >&6
22667
## If we have a custom action on failure, don't print errors, but
22668
## do set a variable so people can do so.
22669
GTK_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
22676
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22677
echo "*** See http://www.freedesktop.org/software/pkgconfig"
22681
if test $succeeded = yes; then
22682
GTK_VER="-DNEW_GTK"
22684
GTK_VER="-UNEW_GTK"
22692
if test -z "$PKG_CONFIG"; then
22693
# Extract the first word of "pkg-config", so it can be a program name with args.
22694
set dummy pkg-config; ac_word=$2
22695
echo "$as_me:$LINENO: checking for $ac_word" >&5
22696
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22697
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22698
echo $ECHO_N "(cached) $ECHO_C" >&6
22700
case $PKG_CONFIG in
22702
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22706
for as_dir in $PATH
22709
test -z "$as_dir" && as_dir=.
22710
for ac_exec_ext in '' $ac_executable_extensions; do
22711
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22712
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22713
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22719
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22723
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22725
if test -n "$PKG_CONFIG"; then
22726
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22727
echo "${ECHO_T}$PKG_CONFIG" >&6
22729
echo "$as_me:$LINENO: result: no" >&5
22730
echo "${ECHO_T}no" >&6
22735
if test "$PKG_CONFIG" = "no" ; then
22736
echo "*** The pkg-config script could not be found. Make sure it is"
22737
echo "*** in your path, or set the PKG_CONFIG environment variable"
22738
echo "*** to the full path to pkg-config."
22739
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22741
PKG_CONFIG_MIN_VERSION=0.9.0
22742
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22743
echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.6.0" >&5
22744
echo $ECHO_N "checking for gtk+-2.0 >= 2.6.0... $ECHO_C" >&6
22746
if $PKG_CONFIG --exists "gtk+-2.0 >= 2.6.0" ; then
22747
echo "$as_me:$LINENO: result: yes" >&5
22748
echo "${ECHO_T}yes" >&6
22751
echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
22752
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
22753
GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0"`
22754
echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
22755
echo "${ECHO_T}$GTK_CFLAGS" >&6
22757
echo "$as_me:$LINENO: checking GTK_LIBS" >&5
22758
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
22759
GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0"`
22760
echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
22761
echo "${ECHO_T}$GTK_LIBS" >&6
22765
## If we have a custom action on failure, don't print errors, but
22766
## do set a variable so people can do so.
22767
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
22768
echo $GTK_PKG_ERRORS
22774
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22775
echo "*** See http://www.freedesktop.org/software/pkgconfig"
22779
if test $succeeded = yes; then
22782
{ { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22783
echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.6.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22784
{ (exit 1); exit 1; }; }
22794
if test -z "$PKG_CONFIG"; then
22795
# Extract the first word of "pkg-config", so it can be a program name with args.
22796
set dummy pkg-config; ac_word=$2
22797
echo "$as_me:$LINENO: checking for $ac_word" >&5
22798
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22799
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22800
echo $ECHO_N "(cached) $ECHO_C" >&6
22802
case $PKG_CONFIG in
22804
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22808
for as_dir in $PATH
22811
test -z "$as_dir" && as_dir=.
22812
for ac_exec_ext in '' $ac_executable_extensions; do
22813
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22814
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22815
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22821
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22825
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22827
if test -n "$PKG_CONFIG"; then
22828
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22829
echo "${ECHO_T}$PKG_CONFIG" >&6
22831
echo "$as_me:$LINENO: result: no" >&5
22832
echo "${ECHO_T}no" >&6
22837
if test "$PKG_CONFIG" = "no" ; then
22838
echo "*** The pkg-config script could not be found. Make sure it is"
22839
echo "*** in your path, or set the PKG_CONFIG environment variable"
22840
echo "*** to the full path to pkg-config."
22841
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22843
PKG_CONFIG_MIN_VERSION=0.9.0
22844
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22845
echo "$as_me:$LINENO: checking for libpanelapplet-2.0 >= 2.9.4" >&5
22846
echo $ECHO_N "checking for libpanelapplet-2.0 >= 2.9.4... $ECHO_C" >&6
22848
if $PKG_CONFIG --exists "libpanelapplet-2.0 >= 2.9.4" ; then
22849
echo "$as_me:$LINENO: result: yes" >&5
22850
echo "${ECHO_T}yes" >&6
22853
echo "$as_me:$LINENO: checking PANEL_VER_CFLAGS" >&5
22854
echo $ECHO_N "checking PANEL_VER_CFLAGS... $ECHO_C" >&6
22855
PANEL_VER_CFLAGS=`$PKG_CONFIG --cflags "libpanelapplet-2.0 >= 2.9.4"`
22856
echo "$as_me:$LINENO: result: $PANEL_VER_CFLAGS" >&5
22857
echo "${ECHO_T}$PANEL_VER_CFLAGS" >&6
22859
echo "$as_me:$LINENO: checking PANEL_VER_LIBS" >&5
22860
echo $ECHO_N "checking PANEL_VER_LIBS... $ECHO_C" >&6
22861
PANEL_VER_LIBS=`$PKG_CONFIG --libs "libpanelapplet-2.0 >= 2.9.4"`
22862
echo "$as_me:$LINENO: result: $PANEL_VER_LIBS" >&5
22863
echo "${ECHO_T}$PANEL_VER_LIBS" >&6
22865
PANEL_VER_CFLAGS=""
22867
## If we have a custom action on failure, don't print errors, but
22868
## do set a variable so people can do so.
22869
PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
22876
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22877
echo "*** See http://www.freedesktop.org/software/pkgconfig"
22881
if test $succeeded = yes; then
22882
PANEL_VER="-UUSE_OLDER_PANEL_APPLET"
22884
PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
22892
if test -z "$PKG_CONFIG"; then
22893
# Extract the first word of "pkg-config", so it can be a program name with args.
22894
set dummy pkg-config; ac_word=$2
22895
echo "$as_me:$LINENO: checking for $ac_word" >&5
22896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22897
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22898
echo $ECHO_N "(cached) $ECHO_C" >&6
22900
case $PKG_CONFIG in
22902
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22905
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22906
for as_dir in $PATH
22909
test -z "$as_dir" && as_dir=.
22910
for ac_exec_ext in '' $ac_executable_extensions; do
22911
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22912
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22913
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22919
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22923
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22925
if test -n "$PKG_CONFIG"; then
22926
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22927
echo "${ECHO_T}$PKG_CONFIG" >&6
22929
echo "$as_me:$LINENO: result: no" >&5
22930
echo "${ECHO_T}no" >&6
22935
if test "$PKG_CONFIG" = "no" ; then
22936
echo "*** The pkg-config script could not be found. Make sure it is"
22937
echo "*** in your path, or set the PKG_CONFIG environment variable"
22938
echo "*** to the full path to pkg-config."
22939
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22941
PKG_CONFIG_MIN_VERSION=0.9.0
22942
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22943
echo "$as_me:$LINENO: checking for libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" >&5
22944
echo $ECHO_N "checking for libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0... $ECHO_C" >&6
22946
if $PKG_CONFIG --exists "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" ; then
22947
echo "$as_me:$LINENO: result: yes" >&5
22948
echo "${ECHO_T}yes" >&6
22951
echo "$as_me:$LINENO: checking PANEL_CFLAGS" >&5
22952
echo $ECHO_N "checking PANEL_CFLAGS... $ECHO_C" >&6
22953
PANEL_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22954
echo "$as_me:$LINENO: result: $PANEL_CFLAGS" >&5
22955
echo "${ECHO_T}$PANEL_CFLAGS" >&6
22957
echo "$as_me:$LINENO: checking PANEL_LIBS" >&5
22958
echo $ECHO_N "checking PANEL_LIBS... $ECHO_C" >&6
22959
PANEL_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22960
echo "$as_me:$LINENO: result: $PANEL_LIBS" >&5
22961
echo "${ECHO_T}$PANEL_LIBS" >&6
22965
## If we have a custom action on failure, don't print errors, but
22966
## do set a variable so people can do so.
22967
PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22968
echo $PANEL_PKG_ERRORS
22974
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22975
echo "*** See http://www.freedesktop.org/software/pkgconfig"
22979
if test $succeeded = yes; then
22982
{ { echo "$as_me:$LINENO: error: Library requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
22983
echo "$as_me: error: Library requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
22984
{ (exit 1); exit 1; }; }
22993
if test -z "$PKG_CONFIG"; then
22994
# Extract the first word of "pkg-config", so it can be a program name with args.
22995
set dummy pkg-config; ac_word=$2
22996
echo "$as_me:$LINENO: checking for $ac_word" >&5
22997
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22998
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22999
echo $ECHO_N "(cached) $ECHO_C" >&6
23001
case $PKG_CONFIG in
23003
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23007
for as_dir in $PATH
23010
test -z "$as_dir" && as_dir=.
23011
for ac_exec_ext in '' $ac_executable_extensions; do
23012
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23013
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23014
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23020
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23024
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23026
if test -n "$PKG_CONFIG"; then
23027
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23028
echo "${ECHO_T}$PKG_CONFIG" >&6
23030
echo "$as_me:$LINENO: result: no" >&5
23031
echo "${ECHO_T}no" >&6
23036
if test "$PKG_CONFIG" = "no" ; then
23037
echo "*** The pkg-config script could not be found. Make sure it is"
23038
echo "*** in your path, or set the PKG_CONFIG environment variable"
23039
echo "*** to the full path to pkg-config."
23040
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23042
PKG_CONFIG_MIN_VERSION=0.9.0
23043
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23044
echo "$as_me:$LINENO: checking for libglade-2.0" >&5
23045
echo $ECHO_N "checking for libglade-2.0... $ECHO_C" >&6
23047
if $PKG_CONFIG --exists "libglade-2.0" ; then
23048
echo "$as_me:$LINENO: result: yes" >&5
23049
echo "${ECHO_T}yes" >&6
23052
echo "$as_me:$LINENO: checking GLADE_CFLAGS" >&5
23053
echo $ECHO_N "checking GLADE_CFLAGS... $ECHO_C" >&6
23054
GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0"`
23055
echo "$as_me:$LINENO: result: $GLADE_CFLAGS" >&5
23056
echo "${ECHO_T}$GLADE_CFLAGS" >&6
23058
echo "$as_me:$LINENO: checking GLADE_LIBS" >&5
23059
echo $ECHO_N "checking GLADE_LIBS... $ECHO_C" >&6
23060
GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0"`
23061
echo "$as_me:$LINENO: result: $GLADE_LIBS" >&5
23062
echo "${ECHO_T}$GLADE_LIBS" >&6
23066
## If we have a custom action on failure, don't print errors, but
23067
## do set a variable so people can do so.
23068
GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
23069
echo $GLADE_PKG_ERRORS
23075
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23076
echo "*** See http://www.freedesktop.org/software/pkgconfig"
23080
if test $succeeded = yes; then
23083
{ { echo "$as_me:$LINENO: error: Library requirements (libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
23084
echo "$as_me: error: Library requirements (libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
23085
{ (exit 1); exit 1; }; }
23094
if test -z "$PKG_CONFIG"; then
23095
# Extract the first word of "pkg-config", so it can be a program name with args.
23096
set dummy pkg-config; ac_word=$2
23097
echo "$as_me:$LINENO: checking for $ac_word" >&5
23098
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23099
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23100
echo $ECHO_N "(cached) $ECHO_C" >&6
23102
case $PKG_CONFIG in
23104
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23108
for as_dir in $PATH
23111
test -z "$as_dir" && as_dir=.
23112
for ac_exec_ext in '' $ac_executable_extensions; do
23113
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23114
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23115
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23121
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23125
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23127
if test -n "$PKG_CONFIG"; then
23128
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23129
echo "${ECHO_T}$PKG_CONFIG" >&6
23131
echo "$as_me:$LINENO: result: no" >&5
23132
echo "${ECHO_T}no" >&6
23137
if test "$PKG_CONFIG" = "no" ; then
23138
echo "*** The pkg-config script could not be found. Make sure it is"
23139
echo "*** in your path, or set the PKG_CONFIG environment variable"
23140
echo "*** to the full path to pkg-config."
23141
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23143
PKG_CONFIG_MIN_VERSION=0.9.0
23144
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23145
echo "$as_me:$LINENO: checking for libebook-1.2" >&5
23146
echo $ECHO_N "checking for libebook-1.2... $ECHO_C" >&6
23148
if $PKG_CONFIG --exists "libebook-1.2" ; then
23149
echo "$as_me:$LINENO: result: yes" >&5
23150
echo "${ECHO_T}yes" >&6
23153
echo "$as_me:$LINENO: checking TMP_EVO_CFLAGS" >&5
23154
echo $ECHO_N "checking TMP_EVO_CFLAGS... $ECHO_C" >&6
23155
TMP_EVO_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2"`
23156
echo "$as_me:$LINENO: result: $TMP_EVO_CFLAGS" >&5
23157
echo "${ECHO_T}$TMP_EVO_CFLAGS" >&6
23159
echo "$as_me:$LINENO: checking TMP_EVO_LIBS" >&5
23160
echo $ECHO_N "checking TMP_EVO_LIBS... $ECHO_C" >&6
23161
TMP_EVO_LIBS=`$PKG_CONFIG --libs "libebook-1.2"`
23162
echo "$as_me:$LINENO: result: $TMP_EVO_LIBS" >&5
23163
echo "${ECHO_T}$TMP_EVO_LIBS" >&6
23167
## If we have a custom action on failure, don't print errors, but
23168
## do set a variable so people can do so.
23169
TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
23176
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23177
echo "*** See http://www.freedesktop.org/software/pkgconfig"
23181
if test $succeeded = yes; then
23182
evo_pc_file="libebook-1.2"
23184
evo_pc_file="libebook-1.0"
23190
if test -z "$PKG_CONFIG"; then
23191
# Extract the first word of "pkg-config", so it can be a program name with args.
23192
set dummy pkg-config; ac_word=$2
23193
echo "$as_me:$LINENO: checking for $ac_word" >&5
23194
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23195
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23196
echo $ECHO_N "(cached) $ECHO_C" >&6
23198
case $PKG_CONFIG in
23200
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23204
for as_dir in $PATH
23207
test -z "$as_dir" && as_dir=.
23208
for ac_exec_ext in '' $ac_executable_extensions; do
23209
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23210
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23211
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23217
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23221
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23223
if test -n "$PKG_CONFIG"; then
23224
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23225
echo "${ECHO_T}$PKG_CONFIG" >&6
23227
echo "$as_me:$LINENO: result: no" >&5
23228
echo "${ECHO_T}no" >&6
23233
if test "$PKG_CONFIG" = "no" ; then
23234
echo "*** The pkg-config script could not be found. Make sure it is"
23235
echo "*** in your path, or set the PKG_CONFIG environment variable"
23236
echo "*** to the full path to pkg-config."
23237
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23239
PKG_CONFIG_MIN_VERSION=0.9.0
23240
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23241
echo "$as_me:$LINENO: checking for $evo_pc_file" >&5
23242
echo $ECHO_N "checking for $evo_pc_file... $ECHO_C" >&6
23244
if $PKG_CONFIG --exists "$evo_pc_file" ; then
23245
echo "$as_me:$LINENO: result: yes" >&5
23246
echo "${ECHO_T}yes" >&6
23249
echo "$as_me:$LINENO: checking EVO_CFLAGS" >&5
23250
echo $ECHO_N "checking EVO_CFLAGS... $ECHO_C" >&6
23251
EVO_CFLAGS=`$PKG_CONFIG --cflags "$evo_pc_file"`
23252
echo "$as_me:$LINENO: result: $EVO_CFLAGS" >&5
23253
echo "${ECHO_T}$EVO_CFLAGS" >&6
23255
echo "$as_me:$LINENO: checking EVO_LIBS" >&5
23256
echo $ECHO_N "checking EVO_LIBS... $ECHO_C" >&6
23257
EVO_LIBS=`$PKG_CONFIG --libs "$evo_pc_file"`
23258
echo "$as_me:$LINENO: result: $EVO_LIBS" >&5
23259
echo "${ECHO_T}$EVO_LIBS" >&6
23263
## If we have a custom action on failure, don't print errors, but
23264
## do set a variable so people can do so.
23265
EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$evo_pc_file"`
23266
echo $EVO_PKG_ERRORS
23272
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23273
echo "*** See http://www.freedesktop.org/software/pkgconfig"
23277
if test $succeeded = yes; then
23280
{ { echo "$as_me:$LINENO: error: Library requirements ($evo_pc_file) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
23281
echo "$as_me: error: Library requirements ($evo_pc_file) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
23282
{ (exit 1); exit 1; }; }
22495
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22496
if test -n "$ac_tool_prefix"; then
22497
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22498
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22499
echo "$as_me:$LINENO: checking for $ac_word" >&5
22500
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22501
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22502
echo $ECHO_N "(cached) $ECHO_C" >&6
22504
case $PKG_CONFIG in
22506
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22510
for as_dir in $PATH
22513
test -z "$as_dir" && as_dir=.
22514
for ac_exec_ext in '' $ac_executable_extensions; do
22515
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22516
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22517
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22526
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22528
if test -n "$PKG_CONFIG"; then
22529
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22530
echo "${ECHO_T}$PKG_CONFIG" >&6
22532
echo "$as_me:$LINENO: result: no" >&5
22533
echo "${ECHO_T}no" >&6
22537
if test -z "$ac_cv_path_PKG_CONFIG"; then
22538
ac_pt_PKG_CONFIG=$PKG_CONFIG
22539
# Extract the first word of "pkg-config", so it can be a program name with args.
22540
set dummy pkg-config; ac_word=$2
22541
echo "$as_me:$LINENO: checking for $ac_word" >&5
22542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22543
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22544
echo $ECHO_N "(cached) $ECHO_C" >&6
22546
case $ac_pt_PKG_CONFIG in
22548
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22552
for as_dir in $PATH
22555
test -z "$as_dir" && as_dir=.
22556
for ac_exec_ext in '' $ac_executable_extensions; do
22557
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22558
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22559
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22568
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22570
if test -n "$ac_pt_PKG_CONFIG"; then
22571
echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22572
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
22574
echo "$as_me:$LINENO: result: no" >&5
22575
echo "${ECHO_T}no" >&6
22578
PKG_CONFIG=$ac_pt_PKG_CONFIG
22580
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22584
if test -n "$PKG_CONFIG"; then
22585
_pkg_min_version=0.9.0
22586
echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22587
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
22588
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22589
echo "$as_me:$LINENO: result: yes" >&5
22590
echo "${ECHO_T}yes" >&6
22592
echo "$as_me:$LINENO: result: no" >&5
22593
echo "${ECHO_T}no" >&6
22600
echo "$as_me:$LINENO: checking for GTK_VER" >&5
22601
echo $ECHO_N "checking for GTK_VER... $ECHO_C" >&6
22603
if test -n "$PKG_CONFIG"; then
22604
if test -n "$GTK_VER_CFLAGS"; then
22605
pkg_cv_GTK_VER_CFLAGS="$GTK_VER_CFLAGS"
22607
if test -n "$PKG_CONFIG" && \
22608
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.3\"") >&5
22609
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.3") 2>&5
22611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612
(exit $ac_status); }; then
22613
pkg_cv_GTK_VER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.3" 2>/dev/null`
22621
if test -n "$PKG_CONFIG"; then
22622
if test -n "$GTK_VER_LIBS"; then
22623
pkg_cv_GTK_VER_LIBS="$GTK_VER_LIBS"
22625
if test -n "$PKG_CONFIG" && \
22626
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.3\"") >&5
22627
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.3") 2>&5
22629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630
(exit $ac_status); }; then
22631
pkg_cv_GTK_VER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.3" 2>/dev/null`
22642
if test $pkg_failed = yes; then
22644
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22645
_pkg_short_errors_supported=yes
22647
_pkg_short_errors_supported=no
22649
if test $_pkg_short_errors_supported = yes; then
22650
GTK_VER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
22652
GTK_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.7.3"`
22654
# Put the nasty error message in config.log where it belongs
22655
echo "$GTK_VER_PKG_ERRORS" >&5
22657
GTK_VER="-UNEW_GTK"
22658
elif test $pkg_failed = untried; then
22659
GTK_VER="-UNEW_GTK"
22661
GTK_VER_CFLAGS=$pkg_cv_GTK_VER_CFLAGS
22662
GTK_VER_LIBS=$pkg_cv_GTK_VER_LIBS
22663
echo "$as_me:$LINENO: result: yes" >&5
22664
echo "${ECHO_T}yes" >&6
22665
GTK_VER="-DNEW_GTK"
22671
echo "$as_me:$LINENO: checking for GTK" >&5
22672
echo $ECHO_N "checking for GTK... $ECHO_C" >&6
22674
if test -n "$PKG_CONFIG"; then
22675
if test -n "$GTK_CFLAGS"; then
22676
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
22678
if test -n "$PKG_CONFIG" && \
22679
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
22680
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
22682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683
(exit $ac_status); }; then
22684
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.6.0" 2>/dev/null`
22692
if test -n "$PKG_CONFIG"; then
22693
if test -n "$GTK_LIBS"; then
22694
pkg_cv_GTK_LIBS="$GTK_LIBS"
22696
if test -n "$PKG_CONFIG" && \
22697
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.6.0\"") >&5
22698
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.6.0") 2>&5
22700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701
(exit $ac_status); }; then
22702
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.6.0" 2>/dev/null`
22713
if test $pkg_failed = yes; then
22715
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22716
_pkg_short_errors_supported=yes
22718
_pkg_short_errors_supported=no
22720
if test $_pkg_short_errors_supported = yes; then
22721
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
22723
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.6.0"`
22725
# Put the nasty error message in config.log where it belongs
22726
echo "$GTK_PKG_ERRORS" >&5
22728
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
22732
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22733
installed software in a non-standard prefix.
22735
Alternatively, you may set the environment variables GTK_CFLAGS
22736
and GTK_LIBS to avoid the need to call pkg-config.
22737
See the pkg-config man page for more details.
22739
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.6.0) were not met:
22743
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22744
installed software in a non-standard prefix.
22746
Alternatively, you may set the environment variables GTK_CFLAGS
22747
and GTK_LIBS to avoid the need to call pkg-config.
22748
See the pkg-config man page for more details.
22750
{ (exit 1); exit 1; }; }
22751
elif test $pkg_failed = untried; then
22752
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22753
is in your PATH or set the PKG_CONFIG environment variable to the full
22754
path to pkg-config.
22756
Alternatively, you may set the environment variables GTK_CFLAGS
22757
and GTK_LIBS to avoid the need to call pkg-config.
22758
See the pkg-config man page for more details.
22760
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22761
See \`config.log' for more details." >&5
22762
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22763
is in your PATH or set the PKG_CONFIG environment variable to the full
22764
path to pkg-config.
22766
Alternatively, you may set the environment variables GTK_CFLAGS
22767
and GTK_LIBS to avoid the need to call pkg-config.
22768
See the pkg-config man page for more details.
22770
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22771
See \`config.log' for more details." >&2;}
22772
{ (exit 1); exit 1; }; }
22774
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
22775
GTK_LIBS=$pkg_cv_GTK_LIBS
22776
echo "$as_me:$LINENO: result: yes" >&5
22777
echo "${ECHO_T}yes" >&6
22786
echo "$as_me:$LINENO: checking for PANEL_VER" >&5
22787
echo $ECHO_N "checking for PANEL_VER... $ECHO_C" >&6
22789
if test -n "$PKG_CONFIG"; then
22790
if test -n "$PANEL_VER_CFLAGS"; then
22791
pkg_cv_PANEL_VER_CFLAGS="$PANEL_VER_CFLAGS"
22793
if test -n "$PKG_CONFIG" && \
22794
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-2.0 >= 2.9.4\"") >&5
22795
($PKG_CONFIG --exists --print-errors "libpanelapplet-2.0 >= 2.9.4") 2>&5
22797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798
(exit $ac_status); }; then
22799
pkg_cv_PANEL_VER_CFLAGS=`$PKG_CONFIG --cflags "libpanelapplet-2.0 >= 2.9.4" 2>/dev/null`
22807
if test -n "$PKG_CONFIG"; then
22808
if test -n "$PANEL_VER_LIBS"; then
22809
pkg_cv_PANEL_VER_LIBS="$PANEL_VER_LIBS"
22811
if test -n "$PKG_CONFIG" && \
22812
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-2.0 >= 2.9.4\"") >&5
22813
($PKG_CONFIG --exists --print-errors "libpanelapplet-2.0 >= 2.9.4") 2>&5
22815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22816
(exit $ac_status); }; then
22817
pkg_cv_PANEL_VER_LIBS=`$PKG_CONFIG --libs "libpanelapplet-2.0 >= 2.9.4" 2>/dev/null`
22828
if test $pkg_failed = yes; then
22830
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22831
_pkg_short_errors_supported=yes
22833
_pkg_short_errors_supported=no
22835
if test $_pkg_short_errors_supported = yes; then
22836
PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
22838
PANEL_VER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpanelapplet-2.0 >= 2.9.4"`
22840
# Put the nasty error message in config.log where it belongs
22841
echo "$PANEL_VER_PKG_ERRORS" >&5
22843
PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
22844
elif test $pkg_failed = untried; then
22845
PANEL_VER="-DUSE_OLDER_PANEL_APPLET"
22847
PANEL_VER_CFLAGS=$pkg_cv_PANEL_VER_CFLAGS
22848
PANEL_VER_LIBS=$pkg_cv_PANEL_VER_LIBS
22849
echo "$as_me:$LINENO: result: yes" >&5
22850
echo "${ECHO_T}yes" >&6
22851
PANEL_VER="-UUSE_OLDER_PANEL_APPLET"
22857
echo "$as_me:$LINENO: checking for PANEL" >&5
22858
echo $ECHO_N "checking for PANEL... $ECHO_C" >&6
22860
if test -n "$PKG_CONFIG"; then
22861
if test -n "$PANEL_CFLAGS"; then
22862
pkg_cv_PANEL_CFLAGS="$PANEL_CFLAGS"
22864
if test -n "$PKG_CONFIG" && \
22865
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0\"") >&5
22866
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0") 2>&5
22868
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869
(exit $ac_status); }; then
22870
pkg_cv_PANEL_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" 2>/dev/null`
22878
if test -n "$PKG_CONFIG"; then
22879
if test -n "$PANEL_LIBS"; then
22880
pkg_cv_PANEL_LIBS="$PANEL_LIBS"
22882
if test -n "$PKG_CONFIG" && \
22883
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0\"") >&5
22884
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0") 2>&5
22886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887
(exit $ac_status); }; then
22888
pkg_cv_PANEL_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0" 2>/dev/null`
22899
if test $pkg_failed = yes; then
22901
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22902
_pkg_short_errors_supported=yes
22904
_pkg_short_errors_supported=no
22906
if test $_pkg_short_errors_supported = yes; then
22907
PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22909
PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0"`
22911
# Put the nasty error message in config.log where it belongs
22912
echo "$PANEL_PKG_ERRORS" >&5
22914
{ { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) were not met:
22918
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22919
installed software in a non-standard prefix.
22921
Alternatively, you may set the environment variables PANEL_CFLAGS
22922
and PANEL_LIBS to avoid the need to call pkg-config.
22923
See the pkg-config man page for more details.
22925
echo "$as_me: error: Package requirements (libgnomeui-2.0 libpanelapplet-2.0 >= 2.8.0) were not met:
22929
Consider adjusting the PKG_CONFIG_PATH environment variable if you
22930
installed software in a non-standard prefix.
22932
Alternatively, you may set the environment variables PANEL_CFLAGS
22933
and PANEL_LIBS to avoid the need to call pkg-config.
22934
See the pkg-config man page for more details.
22936
{ (exit 1); exit 1; }; }
22937
elif test $pkg_failed = untried; then
22938
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
22939
is in your PATH or set the PKG_CONFIG environment variable to the full
22940
path to pkg-config.
22942
Alternatively, you may set the environment variables PANEL_CFLAGS
22943
and PANEL_LIBS to avoid the need to call pkg-config.
22944
See the pkg-config man page for more details.
22946
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22947
See \`config.log' for more details." >&5
22948
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
22949
is in your PATH or set the PKG_CONFIG environment variable to the full
22950
path to pkg-config.
22952
Alternatively, you may set the environment variables PANEL_CFLAGS
22953
and PANEL_LIBS to avoid the need to call pkg-config.
22954
See the pkg-config man page for more details.
22956
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
22957
See \`config.log' for more details." >&2;}
22958
{ (exit 1); exit 1; }; }
22960
PANEL_CFLAGS=$pkg_cv_PANEL_CFLAGS
22961
PANEL_LIBS=$pkg_cv_PANEL_LIBS
22962
echo "$as_me:$LINENO: result: yes" >&5
22963
echo "${ECHO_T}yes" >&6
22971
echo "$as_me:$LINENO: checking for GLADE" >&5
22972
echo $ECHO_N "checking for GLADE... $ECHO_C" >&6
22974
if test -n "$PKG_CONFIG"; then
22975
if test -n "$GLADE_CFLAGS"; then
22976
pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
22978
if test -n "$PKG_CONFIG" && \
22979
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
22980
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
22982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983
(exit $ac_status); }; then
22984
pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
22992
if test -n "$PKG_CONFIG"; then
22993
if test -n "$GLADE_LIBS"; then
22994
pkg_cv_GLADE_LIBS="$GLADE_LIBS"
22996
if test -n "$PKG_CONFIG" && \
22997
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
22998
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
23000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001
(exit $ac_status); }; then
23002
pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
23013
if test $pkg_failed = yes; then
23015
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23016
_pkg_short_errors_supported=yes
23018
_pkg_short_errors_supported=no
23020
if test $_pkg_short_errors_supported = yes; then
23021
GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0"`
23023
GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
23025
# Put the nasty error message in config.log where it belongs
23026
echo "$GLADE_PKG_ERRORS" >&5
23028
{ { echo "$as_me:$LINENO: error: Package requirements (libglade-2.0) were not met:
23032
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23033
installed software in a non-standard prefix.
23035
Alternatively, you may set the environment variables GLADE_CFLAGS
23036
and GLADE_LIBS to avoid the need to call pkg-config.
23037
See the pkg-config man page for more details.
23039
echo "$as_me: error: Package requirements (libglade-2.0) were not met:
23043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23044
installed software in a non-standard prefix.
23046
Alternatively, you may set the environment variables GLADE_CFLAGS
23047
and GLADE_LIBS to avoid the need to call pkg-config.
23048
See the pkg-config man page for more details.
23050
{ (exit 1); exit 1; }; }
23051
elif test $pkg_failed = untried; then
23052
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23053
is in your PATH or set the PKG_CONFIG environment variable to the full
23054
path to pkg-config.
23056
Alternatively, you may set the environment variables GLADE_CFLAGS
23057
and GLADE_LIBS to avoid the need to call pkg-config.
23058
See the pkg-config man page for more details.
23060
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23061
See \`config.log' for more details." >&5
23062
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23063
is in your PATH or set the PKG_CONFIG environment variable to the full
23064
path to pkg-config.
23066
Alternatively, you may set the environment variables GLADE_CFLAGS
23067
and GLADE_LIBS to avoid the need to call pkg-config.
23068
See the pkg-config man page for more details.
23070
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23071
See \`config.log' for more details." >&2;}
23072
{ (exit 1); exit 1; }; }
23074
GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
23075
GLADE_LIBS=$pkg_cv_GLADE_LIBS
23076
echo "$as_me:$LINENO: result: yes" >&5
23077
echo "${ECHO_T}yes" >&6
23085
echo "$as_me:$LINENO: checking for TMP_EVO" >&5
23086
echo $ECHO_N "checking for TMP_EVO... $ECHO_C" >&6
23088
if test -n "$PKG_CONFIG"; then
23089
if test -n "$TMP_EVO_CFLAGS"; then
23090
pkg_cv_TMP_EVO_CFLAGS="$TMP_EVO_CFLAGS"
23092
if test -n "$PKG_CONFIG" && \
23093
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\"") >&5
23094
($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
23096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097
(exit $ac_status); }; then
23098
pkg_cv_TMP_EVO_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
23106
if test -n "$PKG_CONFIG"; then
23107
if test -n "$TMP_EVO_LIBS"; then
23108
pkg_cv_TMP_EVO_LIBS="$TMP_EVO_LIBS"
23110
if test -n "$PKG_CONFIG" && \
23111
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\"") >&5
23112
($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
23114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115
(exit $ac_status); }; then
23116
pkg_cv_TMP_EVO_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
23127
if test $pkg_failed = yes; then
23129
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23130
_pkg_short_errors_supported=yes
23132
_pkg_short_errors_supported=no
23134
if test $_pkg_short_errors_supported = yes; then
23135
TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libebook-1.2"`
23137
TMP_EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libebook-1.2"`
23139
# Put the nasty error message in config.log where it belongs
23140
echo "$TMP_EVO_PKG_ERRORS" >&5
23142
evo_pc_file="libebook-1.0"
23143
elif test $pkg_failed = untried; then
23144
evo_pc_file="libebook-1.0"
23146
TMP_EVO_CFLAGS=$pkg_cv_TMP_EVO_CFLAGS
23147
TMP_EVO_LIBS=$pkg_cv_TMP_EVO_LIBS
23148
echo "$as_me:$LINENO: result: yes" >&5
23149
echo "${ECHO_T}yes" >&6
23150
evo_pc_file="libebook-1.2"
23154
echo "$as_me:$LINENO: checking for EVO" >&5
23155
echo $ECHO_N "checking for EVO... $ECHO_C" >&6
23157
if test -n "$PKG_CONFIG"; then
23158
if test -n "$EVO_CFLAGS"; then
23159
pkg_cv_EVO_CFLAGS="$EVO_CFLAGS"
23161
if test -n "$PKG_CONFIG" && \
23162
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$evo_pc_file\"") >&5
23163
($PKG_CONFIG --exists --print-errors "$evo_pc_file") 2>&5
23165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166
(exit $ac_status); }; then
23167
pkg_cv_EVO_CFLAGS=`$PKG_CONFIG --cflags "$evo_pc_file" 2>/dev/null`
23175
if test -n "$PKG_CONFIG"; then
23176
if test -n "$EVO_LIBS"; then
23177
pkg_cv_EVO_LIBS="$EVO_LIBS"
23179
if test -n "$PKG_CONFIG" && \
23180
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$evo_pc_file\"") >&5
23181
($PKG_CONFIG --exists --print-errors "$evo_pc_file") 2>&5
23183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23184
(exit $ac_status); }; then
23185
pkg_cv_EVO_LIBS=`$PKG_CONFIG --libs "$evo_pc_file" 2>/dev/null`
23196
if test $pkg_failed = yes; then
23198
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23199
_pkg_short_errors_supported=yes
23201
_pkg_short_errors_supported=no
23203
if test $_pkg_short_errors_supported = yes; then
23204
EVO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$evo_pc_file"`
23206
EVO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$evo_pc_file"`
23208
# Put the nasty error message in config.log where it belongs
23209
echo "$EVO_PKG_ERRORS" >&5
23211
{ { echo "$as_me:$LINENO: error: Package requirements ($evo_pc_file) were not met:
23215
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23216
installed software in a non-standard prefix.
23218
Alternatively, you may set the environment variables EVO_CFLAGS
23219
and EVO_LIBS to avoid the need to call pkg-config.
23220
See the pkg-config man page for more details.
23222
echo "$as_me: error: Package requirements ($evo_pc_file) were not met:
23226
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23227
installed software in a non-standard prefix.
23229
Alternatively, you may set the environment variables EVO_CFLAGS
23230
and EVO_LIBS to avoid the need to call pkg-config.
23231
See the pkg-config man page for more details.
23233
{ (exit 1); exit 1; }; }
23234
elif test $pkg_failed = untried; then
23235
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23236
is in your PATH or set the PKG_CONFIG environment variable to the full
23237
path to pkg-config.
23239
Alternatively, you may set the environment variables EVO_CFLAGS
23240
and EVO_LIBS to avoid the need to call pkg-config.
23241
See the pkg-config man page for more details.
23243
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23244
See \`config.log' for more details." >&5
23245
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23246
is in your PATH or set the PKG_CONFIG environment variable to the full
23247
path to pkg-config.
23249
Alternatively, you may set the environment variables EVO_CFLAGS
23250
and EVO_LIBS to avoid the need to call pkg-config.
23251
See the pkg-config man page for more details.
23253
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23254
See \`config.log' for more details." >&2;}
23255
{ (exit 1); exit 1; }; }
23257
EVO_CFLAGS=$pkg_cv_EVO_CFLAGS
23258
EVO_LIBS=$pkg_cv_EVO_LIBS
23259
echo "$as_me:$LINENO: result: yes" >&5
23260
echo "${ECHO_T}yes" >&6