7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7284
$as_echo_n "checking for GTK... " >&6; }
7286
if test -n "$GTK_CFLAGS"; then
7287
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7288
elif test -n "$PKG_CONFIG"; then
7289
if test -n "$PKG_CONFIG" && \
7290
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7291
($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7293
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294
test $ac_status = 0; }; then
7295
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 " 2>/dev/null`
7302
if test -n "$GTK_LIBS"; then
7303
pkg_cv_GTK_LIBS="$GTK_LIBS"
7304
elif test -n "$PKG_CONFIG"; then
7305
if test -n "$PKG_CONFIG" && \
7306
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 \""; } >&5
7307
($PKG_CONFIG --exists --print-errors "gtk+-2.0 ") 2>&5
7309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7310
test $ac_status = 0; }; then
7311
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 " 2>/dev/null`
7321
if test $pkg_failed = yes; then
7322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323
$as_echo "no" >&6; }
7325
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7326
_pkg_short_errors_supported=yes
7328
_pkg_short_errors_supported=no
7330
if test $_pkg_short_errors_supported = yes; then
7331
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 " 2>&1`
7333
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 " 2>&1`
7335
# Put the nasty error message in config.log where it belongs
7336
echo "$GTK_PKG_ERRORS" >&5
7338
as_fn_error $? "Package requirements (gtk+-2.0 ) were not met:
7306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7307
$as_echo_n "checking for GTK... " >&6; }
7309
if test -n "$GTK_CFLAGS"; then
7310
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7311
elif test -n "$PKG_CONFIG"; then
7312
if test -n "$PKG_CONFIG" && \
7313
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7314
($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7316
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7317
test $ac_status = 0; }; then
7318
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
7319
test "x$?" != "x0" && pkg_failed=yes
7326
if test -n "$GTK_LIBS"; then
7327
pkg_cv_GTK_LIBS="$GTK_LIBS"
7328
elif test -n "$PKG_CONFIG"; then
7329
if test -n "$PKG_CONFIG" && \
7330
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
7331
($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
7333
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7334
test $ac_status = 0; }; then
7335
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
7336
test "x$?" != "x0" && pkg_failed=yes
7346
if test $pkg_failed = yes; then
7347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7348
$as_echo "no" >&6; }
7350
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7351
_pkg_short_errors_supported=yes
7353
_pkg_short_errors_supported=no
7355
if test $_pkg_short_errors_supported = yes; then
7356
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7358
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
7360
# Put the nasty error message in config.log where it belongs
7361
echo "$GTK_PKG_ERRORS" >&5
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
7364
$as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
7365
elif test $pkg_failed = untried; then
7366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367
$as_echo "no" >&6; }
7368
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"GTK+ 3 not present\"" >&5
7369
$as_echo "$as_me: WARNING: \"GTK+ 3 not present\"" >&2;}
7371
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
7372
GTK_LIBS=$pkg_cv_GTK_LIBS
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7374
$as_echo "yes" >&6; }
7376
$as_echo "#define HAVE_GTK3 1" >>confdefs.h
7379
if test -n "$GTK_LIBS"; then
7390
if test "$GTK_LIBS" == ""; then
7393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
7394
$as_echo_n "checking for GTK... " >&6; }
7396
if test -n "$GTK_CFLAGS"; then
7397
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
7398
elif test -n "$PKG_CONFIG"; then
7399
if test -n "$PKG_CONFIG" && \
7400
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
7401
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
7403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7404
test $ac_status = 0; }; then
7405
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.18" 2>/dev/null`
7406
test "x$?" != "x0" && pkg_failed=yes
7413
if test -n "$GTK_LIBS"; then
7414
pkg_cv_GTK_LIBS="$GTK_LIBS"
7415
elif test -n "$PKG_CONFIG"; then
7416
if test -n "$PKG_CONFIG" && \
7417
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.18\""; } >&5
7418
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.18") 2>&5
7420
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7421
test $ac_status = 0; }; then
7422
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.18" 2>/dev/null`
7423
test "x$?" != "x0" && pkg_failed=yes
7433
if test $pkg_failed = yes; then
7434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435
$as_echo "no" >&6; }
7437
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7438
_pkg_short_errors_supported=yes
7440
_pkg_short_errors_supported=no
7442
if test $_pkg_short_errors_supported = yes; then
7443
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
7445
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.18" 2>&1`
7447
# Put the nasty error message in config.log where it belongs
7448
echo "$GTK_PKG_ERRORS" >&5
7450
as_fn_error $? "Package requirements (gtk+-2.0 >= 2.18) were not met:
7340
7452
$GTK_PKG_ERRORS
7555
7679
# Checks AppIndicator
7559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7560
$as_echo_n "checking for APPINDICATOR... " >&6; }
7562
if test -n "$APPINDICATOR_CFLAGS"; then
7563
pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7564
elif test -n "$PKG_CONFIG"; then
7565
if test -n "$PKG_CONFIG" && \
7566
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 = 0.2.9 \""; } >&5
7567
($PKG_CONFIG --exists --print-errors "appindicator-0.1 = 0.2.9 ") 2>&5
7569
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7570
test $ac_status = 0; }; then
7571
pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 = 0.2.9 " 2>/dev/null`
7578
if test -n "$APPINDICATOR_LIBS"; then
7579
pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7580
elif test -n "$PKG_CONFIG"; then
7581
if test -n "$PKG_CONFIG" && \
7582
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 = 0.2.9 \""; } >&5
7583
($PKG_CONFIG --exists --print-errors "appindicator-0.1 = 0.2.9 ") 2>&5
7585
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7586
test $ac_status = 0; }; then
7587
pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 = 0.2.9 " 2>/dev/null`
7597
if test $pkg_failed = yes; then
7598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599
$as_echo "no" >&6; }
7601
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7602
_pkg_short_errors_supported=yes
7604
_pkg_short_errors_supported=no
7606
if test $_pkg_short_errors_supported = yes; then
7607
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "appindicator-0.1 = 0.2.9 " 2>&1`
7609
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "appindicator-0.1 = 0.2.9 " 2>&1`
7684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7685
$as_echo_n "checking for APPINDICATOR... " >&6; }
7687
if test -n "$APPINDICATOR_CFLAGS"; then
7688
pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7689
elif test -n "$PKG_CONFIG"; then
7690
if test -n "$PKG_CONFIG" && \
7691
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7692
($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7694
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7695
test $ac_status = 0; }; then
7696
pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null`
7697
test "x$?" != "x0" && pkg_failed=yes
7704
if test -n "$APPINDICATOR_LIBS"; then
7705
pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7706
elif test -n "$PKG_CONFIG"; then
7707
if test -n "$PKG_CONFIG" && \
7708
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5
7709
($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5
7711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7712
test $ac_status = 0; }; then
7713
pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null`
7714
test "x$?" != "x0" && pkg_failed=yes
7724
if test $pkg_failed = yes; then
7725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7726
$as_echo "no" >&6; }
7728
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7729
_pkg_short_errors_supported=yes
7731
_pkg_short_errors_supported=no
7733
if test $_pkg_short_errors_supported = yes; then
7734
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7736
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1`
7738
# Put the nasty error message in config.log where it belongs
7739
echo "$APPINDICATOR_PKG_ERRORS" >&5
7741
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7742
$as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7743
elif test $pkg_failed = untried; then
7744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7745
$as_echo "no" >&6; }
7746
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: AppIndicator 3-0.1 not present\"" >&5
7747
$as_echo "$as_me: WARNING: AppIndicator 3-0.1 not present\"" >&2;}
7749
APPINDICATOR_CFLAGS=$pkg_cv_APPINDICATOR_CFLAGS
7750
APPINDICATOR_LIBS=$pkg_cv_APPINDICATOR_LIBS
7751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7752
$as_echo "yes" >&6; }
7754
$as_echo "#define HAVE_APPINDICATOR 1" >>confdefs.h
7758
if test "$APPINDICATOR_LIBS" == ""; then
7761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APPINDICATOR" >&5
7762
$as_echo_n "checking for APPINDICATOR... " >&6; }
7764
if test -n "$APPINDICATOR_CFLAGS"; then
7765
pkg_cv_APPINDICATOR_CFLAGS="$APPINDICATOR_CFLAGS"
7766
elif test -n "$PKG_CONFIG"; then
7767
if test -n "$PKG_CONFIG" && \
7768
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7769
($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7771
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772
test $ac_status = 0; }; then
7773
pkg_cv_APPINDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7774
test "x$?" != "x0" && pkg_failed=yes
7781
if test -n "$APPINDICATOR_LIBS"; then
7782
pkg_cv_APPINDICATOR_LIBS="$APPINDICATOR_LIBS"
7783
elif test -n "$PKG_CONFIG"; then
7784
if test -n "$PKG_CONFIG" && \
7785
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 <= 0.2.9 \""; } >&5
7786
($PKG_CONFIG --exists --print-errors "appindicator-0.1 <= 0.2.9 ") 2>&5
7788
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789
test $ac_status = 0; }; then
7790
pkg_cv_APPINDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 <= 0.2.9 " 2>/dev/null`
7791
test "x$?" != "x0" && pkg_failed=yes
7801
if test $pkg_failed = yes; then
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803
$as_echo "no" >&6; }
7805
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7806
_pkg_short_errors_supported=yes
7808
_pkg_short_errors_supported=no
7810
if test $_pkg_short_errors_supported = yes; then
7811
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7813
APPINDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 <= 0.2.9 " 2>&1`
7611
7815
# Put the nasty error message in config.log where it belongs
7612
7816
echo "$APPINDICATOR_PKG_ERRORS" >&5
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNITY" >&5
8197
$as_echo_n "checking for UNITY... " >&6; }
8199
if test -n "$UNITY_CFLAGS"; then
8200
pkg_cv_UNITY_CFLAGS="$UNITY_CFLAGS"
8201
elif test -n "$PKG_CONFIG"; then
8202
if test -n "$PKG_CONFIG" && \
8203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8204
($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8206
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8207
test $ac_status = 0; }; then
8208
pkg_cv_UNITY_CFLAGS=`$PKG_CONFIG --cflags "unity >= 3.4.2" 2>/dev/null`
8209
test "x$?" != "x0" && pkg_failed=yes
8216
if test -n "$UNITY_LIBS"; then
8217
pkg_cv_UNITY_LIBS="$UNITY_LIBS"
8218
elif test -n "$PKG_CONFIG"; then
8219
if test -n "$PKG_CONFIG" && \
8220
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"unity >= 3.4.2\""; } >&5
8221
($PKG_CONFIG --exists --print-errors "unity >= 3.4.2") 2>&5
8223
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8224
test $ac_status = 0; }; then
8225
pkg_cv_UNITY_LIBS=`$PKG_CONFIG --libs "unity >= 3.4.2" 2>/dev/null`
8226
test "x$?" != "x0" && pkg_failed=yes
8236
if test $pkg_failed = yes; then
8237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238
$as_echo "no" >&6; }
8240
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8241
_pkg_short_errors_supported=yes
8243
_pkg_short_errors_supported=no
8245
if test $_pkg_short_errors_supported = yes; then
8246
UNITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8248
UNITY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "unity >= 3.4.2" 2>&1`
8250
# Put the nasty error message in config.log where it belongs
8251
echo "$UNITY_PKG_ERRORS" >&5
8253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8254
$as_echo "$as_me: WARNING: Unity not present" >&2;}
8255
elif test $pkg_failed = untried; then
8256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8257
$as_echo "no" >&6; }
8258
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unity not present" >&5
8259
$as_echo "$as_me: WARNING: Unity not present" >&2;}
8261
UNITY_CFLAGS=$pkg_cv_UNITY_CFLAGS
8262
UNITY_LIBS=$pkg_cv_UNITY_LIBS
8263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8264
$as_echo "yes" >&6; }
8266
$as_echo "#define HAVE_UNITY 1" >>confdefs.h
8271
if test -n "$UNITY_LIBS"; then
8282
# Check whether --with-libatiadl was given.
8283
if test "${with_libatiadl+set}" = set; then :
8284
withval=$with_libatiadl;
8285
ATIADL_DIR=${withval}
8286
CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
8287
LIBS="$LIBS -L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst"
8293
for ac_header in adl_defines.h
8295
ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
8296
if test "x$ac_cv_header_adl_defines_h" = xyes; then :
8297
cat >>confdefs.h <<_ACEOF
8298
#define HAVE_ADL_DEFINES_H 1
8300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
8301
$as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
8302
if ${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+:} false; then :
8303
$as_echo_n "(cached) " >&6
8305
ac_check_lib_save_LIBS=$LIBS
8306
LIBS="-latiadlxx $LIBS"
8307
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308
/* end confdefs.h. */
8310
/* Override any GCC internal prototype to avoid an error.
8311
Use char because int might match the return type of a GCC
8312
builtin and then its argument prototype would still apply. */
8316
char ADL_Main_Control_Refresh ();
8320
return ADL_Main_Control_Refresh ();
8325
if ac_fn_c_try_link "$LINENO"; then :
8326
ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
8328
ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
8330
rm -f core conftest.err conftest.$ac_objext \
8331
conftest$ac_exeext conftest.$ac_ext
8332
LIBS=$ac_check_lib_save_LIBS
8334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
8335
$as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
8336
if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = xyes; then :
8339
$as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
8341
LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
8342
LIBATIADL_LIBS="-L/usr/lib/fglrx -L/usr/lib64/fglrx -L/usr/lib/catalyst -L/usr/lib64/catalyst -latiadlxx -ldl"
8351
if test -n "$LIBATIADL_LIBS"; then
7982
8362
############### psensor-server
7984
# Checks Lua 5.1 (required)
7988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
7989
$as_echo_n "checking for LUA... " >&6; }
7991
if test -n "$LUA_CFLAGS"; then
7992
pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
7993
elif test -n "$PKG_CONFIG"; then
7994
if test -n "$PKG_CONFIG" && \
7995
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
7996
($PKG_CONFIG --exists --print-errors "lua") 2>&5
7998
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7999
test $ac_status = 0; }; then
8000
pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua" 2>/dev/null`
8007
if test -n "$LUA_LIBS"; then
8008
pkg_cv_LUA_LIBS="$LUA_LIBS"
8009
elif test -n "$PKG_CONFIG"; then
8010
if test -n "$PKG_CONFIG" && \
8011
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua\""; } >&5
8012
($PKG_CONFIG --exists --print-errors "lua") 2>&5
8014
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8015
test $ac_status = 0; }; then
8016
pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua" 2>/dev/null`
8026
if test $pkg_failed = yes; then
8027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
$as_echo "no" >&6; }
8030
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8031
_pkg_short_errors_supported=yes
8033
_pkg_short_errors_supported=no
8035
if test $_pkg_short_errors_supported = yes; then
8036
LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua" 2>&1`
8038
LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua" 2>&1`
8040
# Put the nasty error message in config.log where it belongs
8041
echo "$LUA_PKG_ERRORS" >&5
8043
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua not present" >&5
8044
$as_echo "$as_me: WARNING: Lua not present" >&2;}
8045
elif test $pkg_failed = untried; then
8046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047
$as_echo "no" >&6; }
8048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua not present" >&5
8049
$as_echo "$as_me: WARNING: Lua not present" >&2;}
8051
LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
8052
LUA_LIBS=$pkg_cv_LUA_LIBS
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8054
$as_echo "yes" >&6; }
8056
$as_echo "#define HAVE_LUA 1" >>confdefs.h
8060
# Ubuntu pkg module is lua5.1 not lua
8061
if test "$LUA_LIBS" == ""; then
8064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
8065
$as_echo_n "checking for LUA... " >&6; }
8067
if test -n "$LUA_CFLAGS"; then
8068
pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
8069
elif test -n "$PKG_CONFIG"; then
8070
if test -n "$PKG_CONFIG" && \
8071
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5
8072
($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5
8074
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8075
test $ac_status = 0; }; then
8076
pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1" 2>/dev/null`
8083
if test -n "$LUA_LIBS"; then
8084
pkg_cv_LUA_LIBS="$LUA_LIBS"
8085
elif test -n "$PKG_CONFIG"; then
8086
if test -n "$PKG_CONFIG" && \
8087
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1\""; } >&5
8088
($PKG_CONFIG --exists --print-errors "lua5.1") 2>&5
8090
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8091
test $ac_status = 0; }; then
8092
pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1" 2>/dev/null`
8102
if test $pkg_failed = yes; then
8103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104
$as_echo "no" >&6; }
8106
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
8107
_pkg_short_errors_supported=yes
8109
_pkg_short_errors_supported=no
8111
if test $_pkg_short_errors_supported = yes; then
8112
LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "lua5.1" 2>&1`
8114
LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors "lua5.1" 2>&1`
8116
# Put the nasty error message in config.log where it belongs
8117
echo "$LUA_PKG_ERRORS" >&5
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua5.1 not present" >&5
8120
$as_echo "$as_me: WARNING: Lua5.1 not present" >&2;}
8121
elif test $pkg_failed = untried; then
8122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8123
$as_echo "no" >&6; }
8124
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Lua5.1 not present" >&5
8125
$as_echo "$as_me: WARNING: Lua5.1 not present" >&2;}
8127
LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
8128
LUA_LIBS=$pkg_cv_LUA_LIBS
8129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8130
$as_echo "yes" >&6; }
8132
$as_echo "#define HAVE_LUA 1" >>confdefs.h
8136
if test -n "$LUA_LIBS"; then
8147
8364
# libmicrohttpd, mandatory for psensor-server
8148
8365
LIBMICROHTTPD_LIBS=
9139
9384
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
9140
9385
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9141
9386
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
9142
"src/plib/Makefile") CONFIG_FILES="$CONFIG_FILES src/plib/Makefile" ;;
9387
"src/glade/Makefile") CONFIG_FILES="$CONFIG_FILES src/glade/Makefile" ;;
9143
9388
"src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
9144
"src/libpsensor_json/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpsensor_json/Makefile" ;;
9145
9389
"src/server/Makefile") CONFIG_FILES="$CONFIG_FILES src/server/Makefile" ;;
9146
"pixmaps/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/scalable/Makefile" ;;
9147
"pixmaps/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/48x48/Makefile" ;;
9390
"icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/scalable/Makefile" ;;
9391
"icons/hicolor/14x14/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/14x14/Makefile" ;;
9392
"icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/16x16/Makefile" ;;
9393
"icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/22x22/Makefile" ;;
9394
"icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/24x24/Makefile" ;;
9395
"icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/32x32/Makefile" ;;
9396
"icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/48x48/Makefile" ;;
9397
"icons/hicolor/64x64/Makefile") CONFIG_FILES="$CONFIG_FILES icons/hicolor/64x64/Makefile" ;;
9398
"icons/ubuntu-mono-dark/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/status/22/Makefile" ;;
9399
"icons/ubuntu-mono-light/status/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-light/status/22/Makefile" ;;
9400
"icons/ubuntu-mono-dark/apps/22/Makefile") CONFIG_FILES="$CONFIG_FILES icons/ubuntu-mono-dark/apps/22/Makefile" ;;
9148
9401
"www/Makefile") CONFIG_FILES="$CONFIG_FILES www/Makefile" ;;
9149
9402
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
9150
9403
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
9152
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
9405
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;