From b8e1d9a29dd43d7a78b6bbe9b54aea7cb454f979 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 9 Jan 2008 22:53:12 +0000 Subject: [PATCH] re-gen configure git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97644 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configure | 72 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 38 deletions(-) diff --git a/configure b/configure index 4eeb1fe..2006c71 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac Revision: 96071 . +# From configure.ac Revision: 97643 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for asterisk 1.4. # @@ -975,7 +975,7 @@ EDITLINE_LIB PBX_H323 PBX_IXJUSER CONFIG_SDL -CONFIG_GTK +GTKCONFIG PKGCONFIG CURL_CONFIG LTLIBOBJS' @@ -47884,20 +47884,17 @@ _ACEOF fi -# we don't use gtk right now... - - if test "x${PBX_GTK}" != "x1" -a "${USE_GTK}" != "no"; then - PBX_GTK=0 - if test -n "$ac_tool_prefix"; then +PBX_GTK=0 +if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args. set dummy ${ac_tool_prefix}gtk-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CONFIG_GTK+set}" = set; then +if test "${ac_cv_prog_GTKCONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$CONFIG_GTK"; then - ac_cv_prog_CONFIG_GTK="$CONFIG_GTK" # Let the user override the test. + if test -n "$GTKCONFIG"; then + ac_cv_prog_GTKCONFIG="$GTKCONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -47906,7 +47903,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CONFIG_GTK="${ac_tool_prefix}gtk-config" + ac_cv_prog_GTKCONFIG="${ac_tool_prefix}gtk-config" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -47916,10 +47913,10 @@ IFS=$as_save_IFS fi fi -CONFIG_GTK=$ac_cv_prog_CONFIG_GTK -if test -n "$CONFIG_GTK"; then - { echo "$as_me:$LINENO: result: $CONFIG_GTK" >&5 -echo "${ECHO_T}$CONFIG_GTK" >&6; } +GTKCONFIG=$ac_cv_prog_GTKCONFIG +if test -n "$GTKCONFIG"; then + { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5 +echo "${ECHO_T}$GTKCONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } @@ -47927,17 +47924,17 @@ fi fi -if test -z "$ac_cv_prog_CONFIG_GTK"; then - ac_ct_CONFIG_GTK=$CONFIG_GTK +if test -z "$ac_cv_prog_GTKCONFIG"; then + ac_ct_GTKCONFIG=$GTKCONFIG # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CONFIG_GTK+set}" = set; then +if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test -n "$ac_ct_CONFIG_GTK"; then - ac_cv_prog_ac_ct_CONFIG_GTK="$ac_ct_CONFIG_GTK" # Let the user override the test. + if test -n "$ac_ct_GTKCONFIG"; then + ac_cv_prog_ac_ct_GTKCONFIG="$ac_ct_GTKCONFIG" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH @@ -47946,7 +47943,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CONFIG_GTK="gtk-config" + ac_cv_prog_ac_ct_GTKCONFIG="gtk-config" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -47956,17 +47953,17 @@ IFS=$as_save_IFS fi fi -ac_ct_CONFIG_GTK=$ac_cv_prog_ac_ct_CONFIG_GTK -if test -n "$ac_ct_CONFIG_GTK"; then - { echo "$as_me:$LINENO: result: $ac_ct_CONFIG_GTK" >&5 -echo "${ECHO_T}$ac_ct_CONFIG_GTK" >&6; } +ac_ct_GTKCONFIG=$ac_cv_prog_ac_ct_GTKCONFIG +if test -n "$ac_ct_GTKCONFIG"; then + { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5 +echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi - if test "x$ac_ct_CONFIG_GTK" = x; then - CONFIG_GTK="No" + if test "x$ac_ct_GTKCONFIG" = x; then + GTKCONFIG="No" else case $cross_compiling:$ac_tool_warned in yes:) @@ -47978,25 +47975,24 @@ whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac - CONFIG_GTK=$ac_ct_CONFIG_GTK + GTKCONFIG=$ac_ct_GTKCONFIG fi else - CONFIG_GTK="$ac_cv_prog_CONFIG_GTK" + GTKCONFIG="$ac_cv_prog_GTKCONFIG" fi - if test ! "x${CONFIG_GTK}" = xNo; then - if test x"" = x ; then A=--cflags ; else A="" ; fi - GTK_INCLUDE=$(${CONFIG_GTK} $A) - if test x"" = x ; then A=--libs ; else A="" ; fi - GTK_LIB=$(${CONFIG_GTK} $A) - PBX_GTK=1 +if test ! "x${GTKCONFIG}" = xNo; then + GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread) + GTK_LIB=$(${GTKCONFIG} --libs gthread) + PBX_GTK=1 cat >>confdefs.h <<\_ACEOF #define HAVE_GTK 1 _ACEOF - fi - fi +fi + + PBX_GTK2=0 @@ -49412,7 +49408,7 @@ EDITLINE_LIB!$EDITLINE_LIB$ac_delim PBX_H323!$PBX_H323$ac_delim PBX_IXJUSER!$PBX_IXJUSER$ac_delim CONFIG_SDL!$CONFIG_SDL$ac_delim -CONFIG_GTK!$CONFIG_GTK$ac_delim +GTKCONFIG!$GTKCONFIG$ac_delim PKGCONFIG!$PKGCONFIG$ac_delim CURL_CONFIG!$CURL_CONFIG$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim -- 1.7.9.5