#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for psensor 0.6.2.10.
+# Generated by GNU Autoconf 2.67 for psensor 0.6.2.11.
#
# Report bugs to <jeanfi@gmail.com>.
#
# Identity of this package.
PACKAGE_NAME='psensor'
PACKAGE_TARNAME='psensor'
-PACKAGE_VERSION='0.6.2.10'
-PACKAGE_STRING='psensor 0.6.2.10'
+PACKAGE_VERSION='0.6.2.11'
+PACKAGE_STRING='psensor 0.6.2.11'
PACKAGE_BUGREPORT='jeanfi@gmail.com'
PACKAGE_URL='http://wpitchoune.net/psensor'
LIBMICROHTTPD_TRUE
LIBMICROHTTPD_LIBS
LIBMICROHTTPD_CFLAGS
+LIBATIADL_LIBS
+LIBATIADL_CFLAGS
+LIBATIADL_FALSE
+LIBATIADL_TRUE
UNITY_FALSE
UNITY_TRUE
UNITY_LIBS
enable_rpath
with_libiconv_prefix
with_libintl_prefix
+with_libatiadl
with_gtop
'
ac_precious_vars='build_alias
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures psensor 0.6.2.10 to adapt to many kinds of systems.
+\`configure' configures psensor 0.6.2.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of psensor 0.6.2.10:";;
+ short | recursive ) echo "Configuration of psensor 0.6.2.11:";;
esac
cat <<\_ACEOF
--without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
--without-libintl-prefix don't search for libintl in includedir and libdir
+ --with-libatiadl=DIR use libatiadlxx in DIR
--with-gtop=yes|no use gtop
Some influential environment variables:
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-psensor configure 0.6.2.10
+psensor configure 0.6.2.11
generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by psensor $as_me 0.6.2.10, which was
+It was created by psensor $as_me 0.6.2.11, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE='psensor'
- VERSION='0.6.2.10'
+ VERSION='0.6.2.11'
cat >>confdefs.h <<_ACEOF
fi
+# libatiadl
+
+# Check whether --with-libatiadl was given.
+if test "${with_libatiadl+set}" = set; then :
+ withval=$with_libatiadl;
+ ATIADL_DIR=${withval}
+ CPPFLAGS="${CPPFLAGS} -I${ATIADL_DIR}/include"
+ LIBS="$LIBS -L/usr/lib/fglrx"
+
+
+fi
+
+
+for ac_header in adl_defines.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "adl_defines.h" "ac_cv_header_adl_defines_h" "$ac_includes_default"
+if test "x$ac_cv_header_adl_defines_h" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_ADL_DEFINES_H 1
+_ACEOF
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ADL_Main_Control_Refresh in -latiadlxx" >&5
+$as_echo_n "checking for ADL_Main_Control_Refresh in -latiadlxx... " >&6; }
+if test "${ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-latiadlxx $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ADL_Main_Control_Refresh ();
+int
+main ()
+{
+return ADL_Main_Control_Refresh ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=yes
+else
+ ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&5
+$as_echo "$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" >&6; }
+if test "x$ac_cv_lib_atiadlxx_ADL_Main_Control_Refresh" = x""yes; then :
+
+
+$as_echo "#define HAVE_LIBATIADL 1" >>confdefs.h
+
+ LIBATIADL_CFLAGS="-I${ATIADL_DIR}/include"
+ LIBATIADL_LIBS="-L/usr/lib/fglrx -latiadlxx"
+
+fi
+
+fi
+
+done
+
+
+ if test -n "$LIBATIADL_LIBS"; then
+ LIBATIADL_TRUE=
+ LIBATIADL_FALSE='#'
+else
+ LIBATIADL_TRUE='#'
+ LIBATIADL_FALSE=
+fi
+
+
+
+
############### psensor-server
# libmicrohttpd, mandatory for psensor-server
as_fn_error $? "conditional \"UNITY\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${LIBATIADL_TRUE}" && test -z "${LIBATIADL_FALSE}"; then
+ as_fn_error $? "conditional \"LIBATIADL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${LIBMICROHTTPD_TRUE}" && test -z "${LIBMICROHTTPD_FALSE}"; then
as_fn_error $? "conditional \"LIBMICROHTTPD\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by psensor $as_me 0.6.2.10, which was
+This file was extended by psensor $as_me 0.6.2.11, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-psensor config.status 0.6.2.10
+psensor config.status 0.6.2.11
configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\"