filename | configure |
changeset | 180:e6dcf9b65658 |
prev | 94:8d80d9c7cc7d |
next | 360:dff4a3bbac0c |
author | nkeynes |
date | Sun Jul 02 04:59:00 2006 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Merge changes made on the MILESTONE1 branch back into head (mostly release touchups) |
file | annotate | diff | log | raw |
1.1 --- a/configure Sun Feb 05 04:05:27 2006 +00001.2 +++ b/configure Sun Jul 02 04:59:00 2006 +00001.3 @@ -309,7 +309,7 @@1.4 # include <unistd.h>1.5 #endif"1.7 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'1.8 +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP PKG_CONFIG ac_pt_PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS LIBOBJS LTLIBOBJS'1.9 ac_subst_files=''1.11 # Initialize some variables set by options.1.12 @@ -770,6 +770,18 @@1.13 ac_env_CPP_value=$CPP1.14 ac_cv_env_CPP_set=${CPP+set}1.15 ac_cv_env_CPP_value=$CPP1.16 +ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}1.17 +ac_env_PKG_CONFIG_value=$PKG_CONFIG1.18 +ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}1.19 +ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG1.20 +ac_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}1.21 +ac_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS1.22 +ac_cv_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}1.23 +ac_cv_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS1.24 +ac_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}1.25 +ac_env_PACKAGE_LIBS_value=$PACKAGE_LIBS1.26 +ac_cv_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}1.27 +ac_cv_env_PACKAGE_LIBS_value=$PACKAGE_LIBS1.29 #1.30 # Report the --help message.1.31 @@ -858,6 +870,11 @@1.32 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have1.33 headers in a nonstandard directory <include dir>1.34 CPP C preprocessor1.35 + PKG_CONFIG path to pkg-config utility1.36 + PACKAGE_CFLAGS1.37 + C compiler flags for PACKAGE, overriding pkg-config1.38 + PACKAGE_LIBS1.39 + linker flags for PACKAGE, overriding pkg-config1.41 Use these variables to override the choices made by `configure' or to help1.42 it to find libraries and programs with nonstandard names/locations.1.43 @@ -4239,11 +4256,11 @@1.47 - succeeded=no1.48 -1.49 - if test -z "$PKG_CONFIG"; then1.50 - # Extract the first word of "pkg-config", so it can be a program name with args.1.51 -set dummy pkg-config; ac_word=$21.52 +1.53 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then1.54 + if test -n "$ac_tool_prefix"; then1.55 + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.1.56 +set dummy ${ac_tool_prefix}pkg-config; ac_word=$21.57 echo "$as_me:$LINENO: checking for $ac_word" >&51.58 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61.59 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then1.60 @@ -4268,7 +4285,6 @@1.61 done1.62 done1.64 - test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"1.65 ;;1.66 esac1.67 fi1.68 @@ -4282,60 +4298,179 @@1.69 echo "${ECHO_T}no" >&61.70 fi1.72 - fi1.73 -1.74 - if test "$PKG_CONFIG" = "no" ; then1.75 - echo "*** The pkg-config script could not be found. Make sure it is"1.76 - echo "*** in your path, or set the PKG_CONFIG environment variable"1.77 - echo "*** to the full path to pkg-config."1.78 - echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."1.79 - else1.80 - PKG_CONFIG_MIN_VERSION=0.9.01.81 - if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then1.82 - echo "$as_me:$LINENO: checking for libgnomeui-2.0 esound " >&51.83 -echo $ECHO_N "checking for libgnomeui-2.0 esound ... $ECHO_C" >&61.84 -1.85 - if $PKG_CONFIG --exists " libgnomeui-2.0 esound " ; then1.86 - echo "$as_me:$LINENO: result: yes" >&51.87 +fi1.88 +if test -z "$ac_cv_path_PKG_CONFIG"; then1.89 + ac_pt_PKG_CONFIG=$PKG_CONFIG1.90 + # Extract the first word of "pkg-config", so it can be a program name with args.1.91 +set dummy pkg-config; ac_word=$21.92 +echo "$as_me:$LINENO: checking for $ac_word" >&51.93 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61.94 +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then1.95 + echo $ECHO_N "(cached) $ECHO_C" >&61.96 +else1.97 + case $ac_pt_PKG_CONFIG in1.98 + [\\/]* | ?:[\\/]*)1.99 + ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.1.100 + ;;1.101 + *)1.102 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR1.103 +for as_dir in $PATH1.104 +do1.105 + IFS=$as_save_IFS1.106 + test -z "$as_dir" && as_dir=.1.107 + for ac_exec_ext in '' $ac_executable_extensions; do1.108 + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1.109 + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"1.110 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51.111 + break 21.112 + fi1.113 +done1.114 +done1.115 +1.116 + ;;1.117 +esac1.118 +fi1.119 +ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG1.120 +1.121 +if test -n "$ac_pt_PKG_CONFIG"; then1.122 + echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&51.123 +echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&61.124 +else1.125 + echo "$as_me:$LINENO: result: no" >&51.126 +echo "${ECHO_T}no" >&61.127 +fi1.128 +1.129 + PKG_CONFIG=$ac_pt_PKG_CONFIG1.130 +else1.131 + PKG_CONFIG="$ac_cv_path_PKG_CONFIG"1.132 +fi1.133 +1.134 +fi1.135 +if test -n "$PKG_CONFIG"; then1.136 + _pkg_min_version=0.9.01.137 + echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&51.138 +echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&61.139 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then1.140 + echo "$as_me:$LINENO: result: yes" >&51.141 echo "${ECHO_T}yes" >&61.142 - succeeded=yes1.143 -1.144 - echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&51.145 -echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&61.146 - PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0 esound "`1.147 - echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&51.148 -echo "${ECHO_T}$PACKAGE_CFLAGS" >&61.149 -1.150 - echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&51.151 -echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&61.152 - PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0 esound "`1.153 - echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&51.154 -echo "${ECHO_T}$PACKAGE_LIBS" >&61.155 + else1.156 + echo "$as_me:$LINENO: result: no" >&51.157 +echo "${ECHO_T}no" >&61.158 + PKG_CONFIG=""1.159 + fi1.160 +1.161 +fi1.162 +1.163 +pkg_failed=no1.164 +echo "$as_me:$LINENO: checking for PACKAGE" >&51.165 +echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&61.166 +1.167 +if test -n "$PKG_CONFIG"; then1.168 + if test -n "$PACKAGE_CFLAGS"; then1.169 + pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"1.170 + else1.171 + if test -n "$PKG_CONFIG" && \1.172 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound \"") >&51.173 + ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound ") 2>&51.174 + ac_status=$?1.175 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.176 + (exit $ac_status); }; then1.177 + pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags " libgnomeui-2.0 esound " 2>/dev/null`1.178 +else1.179 + pkg_failed=yes1.180 +fi1.181 + fi1.182 +else1.183 + pkg_failed=untried1.184 +fi1.185 +if test -n "$PKG_CONFIG"; then1.186 + if test -n "$PACKAGE_LIBS"; then1.187 + pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"1.188 + else1.189 + if test -n "$PKG_CONFIG" && \1.190 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \" libgnomeui-2.0 esound \"") >&51.191 + ($PKG_CONFIG --exists --print-errors " libgnomeui-2.0 esound ") 2>&51.192 + ac_status=$?1.193 + echo "$as_me:$LINENO: \$? = $ac_status" >&51.194 + (exit $ac_status); }; then1.195 + pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs " libgnomeui-2.0 esound " 2>/dev/null`1.196 +else1.197 + pkg_failed=yes1.198 +fi1.199 + fi1.200 +else1.201 + pkg_failed=untried1.202 +fi1.203 +1.204 +1.205 +1.206 +if test $pkg_failed = yes; then1.207 +1.208 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then1.209 + _pkg_short_errors_supported=yes1.210 +else1.211 + _pkg_short_errors_supported=no1.212 +fi1.213 + if test $_pkg_short_errors_supported = yes; then1.214 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " libgnomeui-2.0 esound "`1.215 else1.216 - PACKAGE_CFLAGS=""1.217 - PACKAGE_LIBS=""1.218 - ## If we have a custom action on failure, don't print errors, but1.219 - ## do set a variable so people can do so.1.220 - PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0 esound "`1.221 - echo $PACKAGE_PKG_ERRORS1.222 + PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " libgnomeui-2.0 esound "`1.223 fi1.224 -1.225 -1.226 -1.227 - else1.228 - echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."1.229 - echo "*** See http://www.freedesktop.org/software/pkgconfig"1.230 - fi1.231 - fi1.232 -1.233 - if test $succeeded = yes; then1.234 - :1.235 - else1.236 - { { echo "$as_me:$LINENO: error: Library requirements ( libgnomeui-2.0 esound ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&51.237 -echo "$as_me: error: Library requirements ( libgnomeui-2.0 esound ) 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;}1.238 - { (exit 1); exit 1; }; }1.239 - fi1.240 -1.241 + # Put the nasty error message in config.log where it belongs1.242 + echo "$PACKAGE_PKG_ERRORS" >&51.243 +1.244 + { { echo "$as_me:$LINENO: error: Package requirements ( libgnomeui-2.0 esound ) were not met:1.245 +1.246 +$PACKAGE_PKG_ERRORS1.247 +1.248 +Consider adjusting the PKG_CONFIG_PATH environment variable if you1.249 +installed software in a non-standard prefix.1.250 +1.251 +Alternatively, you may set the environment variables PACKAGE_CFLAGS1.252 +and PACKAGE_LIBS to avoid the need to call pkg-config.1.253 +See the pkg-config man page for more details.1.254 +" >&51.255 +echo "$as_me: error: Package requirements ( libgnomeui-2.0 esound ) were not met:1.256 +1.257 +$PACKAGE_PKG_ERRORS1.258 +1.259 +Consider adjusting the PKG_CONFIG_PATH environment variable if you1.260 +installed software in a non-standard prefix.1.261 +1.262 +Alternatively, you may set the environment variables PACKAGE_CFLAGS1.263 +and PACKAGE_LIBS to avoid the need to call pkg-config.1.264 +See the pkg-config man page for more details.1.265 +" >&2;}1.266 + { (exit 1); exit 1; }; }1.267 +elif test $pkg_failed = untried; then1.268 + { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it1.269 +is in your PATH or set the PKG_CONFIG environment variable to the full1.270 +path to pkg-config.1.271 +1.272 +Alternatively, you may set the environment variables PACKAGE_CFLAGS1.273 +and PACKAGE_LIBS to avoid the need to call pkg-config.1.274 +See the pkg-config man page for more details.1.275 +1.276 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.1.277 +See \`config.log' for more details." >&51.278 +echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it1.279 +is in your PATH or set the PKG_CONFIG environment variable to the full1.280 +path to pkg-config.1.281 +1.282 +Alternatively, you may set the environment variables PACKAGE_CFLAGS1.283 +and PACKAGE_LIBS to avoid the need to call pkg-config.1.284 +See the pkg-config man page for more details.1.285 +1.286 +To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.1.287 +See \`config.log' for more details." >&2;}1.288 + { (exit 1); exit 1; }; }1.289 +else1.290 + PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS1.291 + PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS1.292 + echo "$as_me:$LINENO: result: yes" >&51.293 +echo "${ECHO_T}yes" >&61.294 + :1.295 +fi1.299 @@ -6046,6 +6181,9 @@1.300 < $srcdir/po/POTFILES.in > po/POTFILES1.303 +CFLAGS='-g3'1.304 +1.305 +1.306 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"1.307 cat >confcache <<\_ACEOF1.308 # This file is a shell script that caches the results of configure1.309 @@ -6743,6 +6881,7 @@1.310 s,@CPP@,$CPP,;t t1.311 s,@EGREP@,$EGREP,;t t1.312 s,@PKG_CONFIG@,$PKG_CONFIG,;t t1.313 +s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t1.314 s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t1.315 s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t1.316 s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
.