Changeset 13970 for trunk/FACT++/configure
- Timestamp:
- 05/30/12 10:52:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/configure
r13868 r13970 574 574 PACKAGE_STRING='FACT++ 1.0' 575 575 PACKAGE_BUGREPORT='thomas.bretz@epfl.ch' 576 PACKAGE_URL='http ://fact.isdc.unige.ch/svn/trunk/FACT++/'576 PACKAGE_URL='https://fact.isdc.unige.ch/svn/trunk/FACT++/' 577 577 578 578 # Factoring default headers for most tests. … … 624 624 HAS_GUI_FALSE 625 625 HAS_GUI_TRUE 626 HAS_DBUS_FALSE 627 HAS_DBUS_TRUE 626 628 HAS_SOPRANO_FALSE 627 629 HAS_SOPRANO_TRUE … … 697 699 QT4_CORE_LIBS 698 700 QT4_CORE_CFLAGS 699 PKG_CONFIG_LIBDIR700 PKG_CONFIG_PATH701 PKG_CONFIG702 701 QT4DIR 703 702 BOOST_THREAD_LIB … … 842 841 build 843 842 LIBTOOL 843 DBUS_LIBS 844 DBUS_CFLAGS 845 PKG_CONFIG_LIBDIR 846 PKG_CONFIG_PATH 847 PKG_CONFIG 844 848 EGREP 845 849 GREP … … 980 984 CCC 981 985 CPP 986 PKG_CONFIG 987 PKG_CONFIG_PATH 988 PKG_CONFIG_LIBDIR 989 DBUS_CFLAGS 990 DBUS_LIBS 982 991 CXXCPP 983 992 DOXYGEN_PAPER_SIZE 984 993 XMKMF 985 994 QT4DIR 986 PKG_CONFIG987 PKG_CONFIG_PATH988 PKG_CONFIG_LIBDIR989 995 QT4_CORE_CFLAGS 990 996 QT4_CORE_LIBS … … 1750 1756 CXXFLAGS C++ compiler flags 1751 1757 CPP C preprocessor 1758 PKG_CONFIG path to pkg-config utility 1759 PKG_CONFIG_PATH 1760 directories to add to pkg-config's search path 1761 PKG_CONFIG_LIBDIR 1762 path overriding pkg-config's built-in search path 1763 DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config 1764 DBUS_LIBS linker flags for DBUS, overriding pkg-config 1752 1765 CXXCPP C++ preprocessor 1753 1766 DOXYGEN_PAPER_SIZE … … 1755 1768 XMKMF Path to xmkmf, Makefile generator for X Window System 1756 1769 QT4DIR the place where the Qt 4 files are, e.g. /usr/lib/qt4 1757 PKG_CONFIG path to pkg-config utility1758 PKG_CONFIG_PATH1759 directories to add to pkg-config's search path1760 PKG_CONFIG_LIBDIR1761 path overriding pkg-config's built-in search path1762 1770 QT4_CORE_CFLAGS 1763 1771 C compiler flags for QT4_CORE, overriding pkg-config … … 1773 1781 1774 1782 Report bugs to <thomas.bretz@epfl.ch>. 1775 FACT++ home page: <http ://fact.isdc.unige.ch/svn/trunk/FACT++/>.1783 FACT++ home page: <https://fact.isdc.unige.ch/svn/trunk/FACT++/>. 1776 1784 _ACEOF 1777 1785 ac_status=$? … … 4704 4712 # Postponed after the BOOST library tests otherwise the check for boost::thread fails 4705 4713 #CXXFLAGS+=" -std=c++0x" 4714 4715 4716 4717 4718 4719 4720 4721 4722 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4723 if test -n "$ac_tool_prefix"; then 4724 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4725 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4727 $as_echo_n "checking for $ac_word... " >&6; } 4728 if ${ac_cv_path_PKG_CONFIG+:} false; then : 4729 $as_echo_n "(cached) " >&6 4730 else 4731 case $PKG_CONFIG in 4732 [\\/]* | ?:[\\/]*) 4733 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4734 ;; 4735 *) 4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4737 for as_dir in $PATH 4738 do 4739 IFS=$as_save_IFS 4740 test -z "$as_dir" && as_dir=. 4741 for ac_exec_ext in '' $ac_executable_extensions; do 4742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4743 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4745 break 2 4746 fi 4747 done 4748 done 4749 IFS=$as_save_IFS 4750 4751 ;; 4752 esac 4753 fi 4754 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4755 if test -n "$PKG_CONFIG"; then 4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 4757 $as_echo "$PKG_CONFIG" >&6; } 4758 else 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4760 $as_echo "no" >&6; } 4761 fi 4762 4763 4764 fi 4765 if test -z "$ac_cv_path_PKG_CONFIG"; then 4766 ac_pt_PKG_CONFIG=$PKG_CONFIG 4767 # Extract the first word of "pkg-config", so it can be a program name with args. 4768 set dummy pkg-config; ac_word=$2 4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4770 $as_echo_n "checking for $ac_word... " >&6; } 4771 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 4772 $as_echo_n "(cached) " >&6 4773 else 4774 case $ac_pt_PKG_CONFIG in 4775 [\\/]* | ?:[\\/]*) 4776 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4777 ;; 4778 *) 4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4780 for as_dir in $PATH 4781 do 4782 IFS=$as_save_IFS 4783 test -z "$as_dir" && as_dir=. 4784 for ac_exec_ext in '' $ac_executable_extensions; do 4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4786 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4788 break 2 4789 fi 4790 done 4791 done 4792 IFS=$as_save_IFS 4793 4794 ;; 4795 esac 4796 fi 4797 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4798 if test -n "$ac_pt_PKG_CONFIG"; then 4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 4800 $as_echo "$ac_pt_PKG_CONFIG" >&6; } 4801 else 4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4803 $as_echo "no" >&6; } 4804 fi 4805 4806 if test "x$ac_pt_PKG_CONFIG" = x; then 4807 PKG_CONFIG="" 4808 else 4809 case $cross_compiling:$ac_tool_warned in 4810 yes:) 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4813 ac_tool_warned=yes ;; 4814 esac 4815 PKG_CONFIG=$ac_pt_PKG_CONFIG 4816 fi 4817 else 4818 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4819 fi 4820 4821 fi 4822 if test -n "$PKG_CONFIG"; then 4823 _pkg_min_version=0.9.0 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 4825 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 4826 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4828 $as_echo "yes" >&6; } 4829 else 4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4831 $as_echo "no" >&6; } 4832 PKG_CONFIG="" 4833 fi 4834 fi 4835 4836 pkg_failed=no 4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 4838 $as_echo_n "checking for DBUS... " >&6; } 4839 4840 if test -n "$DBUS_CFLAGS"; then 4841 pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" 4842 elif test -n "$PKG_CONFIG"; then 4843 if test -n "$PKG_CONFIG" && \ 4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 dbus-glib-1\""; } >&5 4845 ($PKG_CONFIG --exists --print-errors "dbus-1 dbus-glib-1") 2>&5 4846 ac_status=$? 4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4848 test $ac_status = 0; }; then 4849 pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 dbus-glib-1" 2>/dev/null` 4850 test "x$?" != "x0" && pkg_failed=yes 4851 else 4852 pkg_failed=yes 4853 fi 4854 else 4855 pkg_failed=untried 4856 fi 4857 if test -n "$DBUS_LIBS"; then 4858 pkg_cv_DBUS_LIBS="$DBUS_LIBS" 4859 elif test -n "$PKG_CONFIG"; then 4860 if test -n "$PKG_CONFIG" && \ 4861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 dbus-glib-1\""; } >&5 4862 ($PKG_CONFIG --exists --print-errors "dbus-1 dbus-glib-1") 2>&5 4863 ac_status=$? 4864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4865 test $ac_status = 0; }; then 4866 pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 dbus-glib-1" 2>/dev/null` 4867 test "x$?" != "x0" && pkg_failed=yes 4868 else 4869 pkg_failed=yes 4870 fi 4871 else 4872 pkg_failed=untried 4873 fi 4874 4875 4876 4877 if test $pkg_failed = yes; then 4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4879 $as_echo "no" >&6; } 4880 4881 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4882 _pkg_short_errors_supported=yes 4883 else 4884 _pkg_short_errors_supported=no 4885 fi 4886 if test $_pkg_short_errors_supported = yes; then 4887 DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 dbus-glib-1" 2>&1` 4888 else 4889 DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 dbus-glib-1" 2>&1` 4890 fi 4891 # Put the nasty error message in config.log where it belongs 4892 echo "$DBUS_PKG_ERRORS" >&5 4893 4894 HAVE_DBUS=no 4895 elif test $pkg_failed = untried; then 4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4897 $as_echo "no" >&6; } 4898 HAVE_DBUS=no 4899 else 4900 DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS 4901 DBUS_LIBS=$pkg_cv_DBUS_LIBS 4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4903 $as_echo "yes" >&6; } 4904 HAVE_DBUS=yes 4905 fi 4906 4907 CPPFLAGS+=" `pkg-config --cflags dbus-1 dbus-glib-1`" 4908 LDFLAGS+=" `pkg-config --libs dbus-1 dbus-glib-1`" 4909 4910 # dbus-1 4911 # dbus-glib-1 4912 # QtOpenGL 4913 # gl 4914 # QtCore 4915 # soprano 4916 # cfitsio 4706 4917 4707 4918 ###################################################################### … … 23646 23857 23647 23858 cat > conftest.$ac_ext <<EOF 23648 #line 23 648"configure"23859 #line 23859 "configure" 23649 23860 #include "confdefs.h" 23650 23861 #include <qglobal.h> … … 24799 25010 fi 24800 25011 25012 if test "$HAVE_DBUS" = yes; then 25013 HAS_DBUS_TRUE= 25014 HAS_DBUS_FALSE='#' 25015 else 25016 HAS_DBUS_TRUE='#' 25017 HAS_DBUS_FALSE= 25018 fi 25019 24801 25020 24802 25021 if test "$QT4_VERSION" -a "$HAVE_GL" = yes -a "$HAVE_GLU" = yes -a "$HAVE_QGL" = yes -a "$HAVE_ROOT_QT" = yes ; then … … 24848 25067 if test "$HAVE_NOVA" = yes; then 24849 25068 $as_echo "#define HAVE_NOVA 1" >>confdefs.h 25069 25070 fi 25071 if test "$HAVE_DBUS" = yes; then 25072 $as_echo "#define HAVE_DBUS 1" >>confdefs.h 24850 25073 24851 25074 fi … … 25202 25425 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25203 25426 fi 25427 if test -z "${HAS_DBUS_TRUE}" && test -z "${HAS_DBUS_FALSE}"; then 25428 as_fn_error $? "conditional \"HAS_DBUS\" was never defined. 25429 Usually this means the macro was only invoked conditionally." "$LINENO" 5 25430 fi 25204 25431 if test -z "${HAS_GUI_TRUE}" && test -z "${HAS_GUI_FALSE}"; then 25205 25432 as_fn_error $? "conditional \"HAS_GUI\" was never defined. … … 25683 25910 25684 25911 Report bugs to <thomas.bretz@epfl.ch>. 25685 FACT++ home page: <http ://fact.isdc.unige.ch/svn/trunk/FACT++/>."25912 FACT++ home page: <https://fact.isdc.unige.ch/svn/trunk/FACT++/>." 25686 25913 25687 25914 _ACEOF … … 27694 27921 { $as_echo "$as_me:${as_lineno-$LINENO}: CCfits / 'CCfits/CCfits' found: $HAVE_CCFITS" >&5 27695 27922 $as_echo "$as_me: CCfits / 'CCfits/CCfits' found: $HAVE_CCFITS" >&6;} 27923 { $as_echo "$as_me:${as_lineno-$LINENO}: DBus-1, DBus-glib-1 / pkg-config found: $HAVE_DBUS" >&5 27924 $as_echo "$as_me: DBus-1, DBus-glib-1 / pkg-config found: $HAVE_DBUS" >&6;} 27696 27925 if test "$lt_cv_libxp" = "yes"; then 27697 27926 { $as_echo "$as_me:${as_lineno-$LINENO}: Motif/lesstif / 'Xm/Xm.h' 'libXp' found: yes" >&5 … … 27925 28154 27926 28155 fi 28156 if test "$HAVE_NOVA" = yes; then 28157 : 28158 else 28159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnova missing - smartfact will be compiles without astronomy support!" >&5 28160 $as_echo "$as_me: WARNING: libnova missing - smartfact will be compiles without astronomy support!" >&2;} 28161 fi 28162 if test "$HAVE_DBUS" = yes; then 28163 : 28164 else 28165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: DBus libraries missing - skypeclient will not be compiled!" >&5 28166 $as_echo "$as_me: WARNING: DBus libraries missing - skypeclient will not be compiled!" >&2;} 28167 fi 28168 if test "$HAVE_SOPRANO" = yes; then 28169 : 28170 else 28171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Soprano libraries missing - tngweather will not be compiled!" >&5 28172 $as_echo "$as_me: WARNING: Soprano libraries missing - tngweather will not be compiled!" >&2;} 28173 fi 27927 28174 { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5 27928 28175 $as_echo "$as_me: " >&6;}
Note:
See TracChangeset
for help on using the changeset viewer.