#! /bin/sh
-# From configure.ac Revision: 268128 .
+# From configure.ac Revision: 268815 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65 for asterisk 1.6.2.
#
set dummy ${ac_tool_prefix}xml2-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CONFIG_LIBXML2+set}" = set; then :
+if test "${ac_cv_path_CONFIG_LIBXML2+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$CONFIG_LIBXML2"; then
- ac_cv_prog_CONFIG_LIBXML2="$CONFIG_LIBXML2" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $CONFIG_LIBXML2 in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CONFIG_LIBXML2="$CONFIG_LIBXML2" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${LIBXML2_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_LIBXML2="${ac_tool_prefix}xml2-config"
+ ac_cv_path_CONFIG_LIBXML2="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-CONFIG_LIBXML2=$ac_cv_prog_CONFIG_LIBXML2
+CONFIG_LIBXML2=$ac_cv_path_CONFIG_LIBXML2
if test -n "$CONFIG_LIBXML2"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_LIBXML2" >&5
$as_echo "$CONFIG_LIBXML2" >&6; }
fi
-if test -z "$ac_cv_prog_CONFIG_LIBXML2"; then
- ac_ct_CONFIG_LIBXML2=$CONFIG_LIBXML2
+if test -z "$ac_cv_path_CONFIG_LIBXML2"; then
+ ac_pt_CONFIG_LIBXML2=$CONFIG_LIBXML2
# Extract the first word of "xml2-config", so it can be a program name with args.
set dummy xml2-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_LIBXML2+set}" = set; then :
+if test "${ac_cv_path_ac_pt_CONFIG_LIBXML2+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$ac_ct_CONFIG_LIBXML2"; then
- ac_cv_prog_ac_ct_CONFIG_LIBXML2="$ac_ct_CONFIG_LIBXML2" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $ac_pt_CONFIG_LIBXML2 in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_CONFIG_LIBXML2="$ac_pt_CONFIG_LIBXML2" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${LIBXML2_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_LIBXML2="xml2-config"
+ ac_cv_path_ac_pt_CONFIG_LIBXML2="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-ac_ct_CONFIG_LIBXML2=$ac_cv_prog_ac_ct_CONFIG_LIBXML2
-if test -n "$ac_ct_CONFIG_LIBXML2"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CONFIG_LIBXML2" >&5
-$as_echo "$ac_ct_CONFIG_LIBXML2" >&6; }
+ac_pt_CONFIG_LIBXML2=$ac_cv_path_ac_pt_CONFIG_LIBXML2
+if test -n "$ac_pt_CONFIG_LIBXML2"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CONFIG_LIBXML2" >&5
+$as_echo "$ac_pt_CONFIG_LIBXML2" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
- if test "x$ac_ct_CONFIG_LIBXML2" = x; then
+ if test "x$ac_pt_CONFIG_LIBXML2" = x; then
CONFIG_LIBXML2="No"
else
case $cross_compiling:$ac_tool_warned in
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
- CONFIG_LIBXML2=$ac_ct_CONFIG_LIBXML2
+ CONFIG_LIBXML2=$ac_pt_CONFIG_LIBXML2
fi
else
- CONFIG_LIBXML2="$ac_cv_prog_CONFIG_LIBXML2"
+ CONFIG_LIBXML2="$ac_cv_path_CONFIG_LIBXML2"
fi
if test ! "x${CONFIG_LIBXML2}" = xNo; then
set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CONFIG_NETSNMP+set}" = set; then :
+if test "${ac_cv_path_CONFIG_NETSNMP+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$CONFIG_NETSNMP"; then
- ac_cv_prog_CONFIG_NETSNMP="$CONFIG_NETSNMP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $CONFIG_NETSNMP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CONFIG_NETSNMP="$CONFIG_NETSNMP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${NETSNMP_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_NETSNMP="${ac_tool_prefix}net-snmp-config"
+ ac_cv_path_CONFIG_NETSNMP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-CONFIG_NETSNMP=$ac_cv_prog_CONFIG_NETSNMP
+CONFIG_NETSNMP=$ac_cv_path_CONFIG_NETSNMP
if test -n "$CONFIG_NETSNMP"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_NETSNMP" >&5
$as_echo "$CONFIG_NETSNMP" >&6; }
fi
-if test -z "$ac_cv_prog_CONFIG_NETSNMP"; then
- ac_ct_CONFIG_NETSNMP=$CONFIG_NETSNMP
+if test -z "$ac_cv_path_CONFIG_NETSNMP"; then
+ ac_pt_CONFIG_NETSNMP=$CONFIG_NETSNMP
# Extract the first word of "net-snmp-config", so it can be a program name with args.
set dummy net-snmp-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_NETSNMP+set}" = set; then :
+if test "${ac_cv_path_ac_pt_CONFIG_NETSNMP+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$ac_ct_CONFIG_NETSNMP"; then
- ac_cv_prog_ac_ct_CONFIG_NETSNMP="$ac_ct_CONFIG_NETSNMP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $ac_pt_CONFIG_NETSNMP in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_CONFIG_NETSNMP="$ac_pt_CONFIG_NETSNMP" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${NETSNMP_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_NETSNMP="net-snmp-config"
+ ac_cv_path_ac_pt_CONFIG_NETSNMP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-ac_ct_CONFIG_NETSNMP=$ac_cv_prog_ac_ct_CONFIG_NETSNMP
-if test -n "$ac_ct_CONFIG_NETSNMP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CONFIG_NETSNMP" >&5
-$as_echo "$ac_ct_CONFIG_NETSNMP" >&6; }
+ac_pt_CONFIG_NETSNMP=$ac_cv_path_ac_pt_CONFIG_NETSNMP
+if test -n "$ac_pt_CONFIG_NETSNMP"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CONFIG_NETSNMP" >&5
+$as_echo "$ac_pt_CONFIG_NETSNMP" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
- if test "x$ac_ct_CONFIG_NETSNMP" = x; then
+ if test "x$ac_pt_CONFIG_NETSNMP" = x; then
CONFIG_NETSNMP="No"
else
case $cross_compiling:$ac_tool_warned in
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
- CONFIG_NETSNMP=$ac_ct_CONFIG_NETSNMP
+ CONFIG_NETSNMP=$ac_pt_CONFIG_NETSNMP
fi
else
- CONFIG_NETSNMP="$ac_cv_prog_CONFIG_NETSNMP"
+ CONFIG_NETSNMP="$ac_cv_path_CONFIG_NETSNMP"
fi
if test ! "x${CONFIG_NETSNMP}" = xNo; then
set dummy ${ac_tool_prefix}gmime-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CONFIG_GMIME+set}" = set; then :
+if test "${ac_cv_path_CONFIG_GMIME+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$CONFIG_GMIME"; then
- ac_cv_prog_CONFIG_GMIME="$CONFIG_GMIME" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $CONFIG_GMIME in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CONFIG_GMIME="$CONFIG_GMIME" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${GMIME_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_GMIME="${ac_tool_prefix}gmime-config"
+ ac_cv_path_CONFIG_GMIME="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-CONFIG_GMIME=$ac_cv_prog_CONFIG_GMIME
+CONFIG_GMIME=$ac_cv_path_CONFIG_GMIME
if test -n "$CONFIG_GMIME"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_GMIME" >&5
$as_echo "$CONFIG_GMIME" >&6; }
fi
-if test -z "$ac_cv_prog_CONFIG_GMIME"; then
- ac_ct_CONFIG_GMIME=$CONFIG_GMIME
+if test -z "$ac_cv_path_CONFIG_GMIME"; then
+ ac_pt_CONFIG_GMIME=$CONFIG_GMIME
# Extract the first word of "gmime-config", so it can be a program name with args.
set dummy gmime-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_GMIME+set}" = set; then :
+if test "${ac_cv_path_ac_pt_CONFIG_GMIME+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$ac_ct_CONFIG_GMIME"; then
- ac_cv_prog_ac_ct_CONFIG_GMIME="$ac_ct_CONFIG_GMIME" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $ac_pt_CONFIG_GMIME in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_CONFIG_GMIME="$ac_pt_CONFIG_GMIME" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${GMIME_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_GMIME="gmime-config"
+ ac_cv_path_ac_pt_CONFIG_GMIME="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-ac_ct_CONFIG_GMIME=$ac_cv_prog_ac_ct_CONFIG_GMIME
-if test -n "$ac_ct_CONFIG_GMIME"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CONFIG_GMIME" >&5
-$as_echo "$ac_ct_CONFIG_GMIME" >&6; }
+ac_pt_CONFIG_GMIME=$ac_cv_path_ac_pt_CONFIG_GMIME
+if test -n "$ac_pt_CONFIG_GMIME"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CONFIG_GMIME" >&5
+$as_echo "$ac_pt_CONFIG_GMIME" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
- if test "x$ac_ct_CONFIG_GMIME" = x; then
+ if test "x$ac_pt_CONFIG_GMIME" = x; then
CONFIG_GMIME="No"
else
case $cross_compiling:$ac_tool_warned in
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
- CONFIG_GMIME=$ac_ct_CONFIG_GMIME
+ CONFIG_GMIME=$ac_pt_CONFIG_GMIME
fi
else
- CONFIG_GMIME="$ac_cv_prog_CONFIG_GMIME"
+ CONFIG_GMIME="$ac_cv_path_CONFIG_GMIME"
fi
if test ! "x${CONFIG_GMIME}" = xNo; then
set dummy ${ac_tool_prefix}sdl-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CONFIG_SDL+set}" = set; then :
+if test "${ac_cv_path_CONFIG_SDL+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$CONFIG_SDL"; then
- ac_cv_prog_CONFIG_SDL="$CONFIG_SDL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $CONFIG_SDL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CONFIG_SDL="$CONFIG_SDL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${SDL_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_SDL="${ac_tool_prefix}sdl-config"
+ ac_cv_path_CONFIG_SDL="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-CONFIG_SDL=$ac_cv_prog_CONFIG_SDL
+CONFIG_SDL=$ac_cv_path_CONFIG_SDL
if test -n "$CONFIG_SDL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_SDL" >&5
$as_echo "$CONFIG_SDL" >&6; }
fi
-if test -z "$ac_cv_prog_CONFIG_SDL"; then
- ac_ct_CONFIG_SDL=$CONFIG_SDL
+if test -z "$ac_cv_path_CONFIG_SDL"; then
+ ac_pt_CONFIG_SDL=$CONFIG_SDL
# Extract the first word of "sdl-config", so it can be a program name with args.
set dummy sdl-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_SDL+set}" = set; then :
+if test "${ac_cv_path_ac_pt_CONFIG_SDL+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$ac_ct_CONFIG_SDL"; then
- ac_cv_prog_ac_ct_CONFIG_SDL="$ac_ct_CONFIG_SDL" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $ac_pt_CONFIG_SDL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_CONFIG_SDL="$ac_pt_CONFIG_SDL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${SDL_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_SDL="sdl-config"
+ ac_cv_path_ac_pt_CONFIG_SDL="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-ac_ct_CONFIG_SDL=$ac_cv_prog_ac_ct_CONFIG_SDL
-if test -n "$ac_ct_CONFIG_SDL"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CONFIG_SDL" >&5
-$as_echo "$ac_ct_CONFIG_SDL" >&6; }
+ac_pt_CONFIG_SDL=$ac_cv_path_ac_pt_CONFIG_SDL
+if test -n "$ac_pt_CONFIG_SDL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CONFIG_SDL" >&5
+$as_echo "$ac_pt_CONFIG_SDL" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
- if test "x$ac_ct_CONFIG_SDL" = x; then
+ if test "x$ac_pt_CONFIG_SDL" = x; then
CONFIG_SDL="No"
else
case $cross_compiling:$ac_tool_warned in
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
- CONFIG_SDL=$ac_ct_CONFIG_SDL
+ CONFIG_SDL=$ac_pt_CONFIG_SDL
fi
else
- CONFIG_SDL="$ac_cv_prog_CONFIG_SDL"
+ CONFIG_SDL="$ac_cv_path_CONFIG_SDL"
fi
if test ! "x${CONFIG_SDL}" = xNo; then
set dummy ${ac_tool_prefix}gtk-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CONFIG_GTK+set}" = set; then :
+if test "${ac_cv_path_CONFIG_GTK+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- if test -n "$CONFIG_GTK"; then
- ac_cv_prog_CONFIG_GTK="$CONFIG_GTK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $CONFIG_GTK in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_CONFIG_GTK="$CONFIG_GTK" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${GTK_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_path_CONFIG_GTK="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-CONFIG_GTK=$ac_cv_prog_CONFIG_GTK
+CONFIG_GTK=$ac_cv_path_CONFIG_GTK
if test -n "$CONFIG_GTK"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONFIG_GTK" >&5
$as_echo "$CONFIG_GTK" >&6; }
fi
-if test -z "$ac_cv_prog_CONFIG_GTK"; then
- ac_ct_CONFIG_GTK=$CONFIG_GTK
+if test -z "$ac_cv_path_CONFIG_GTK"; then
+ ac_pt_CONFIG_GTK=$CONFIG_GTK
# Extract the first word of "gtk-config", so it can be a program name with args.
set dummy gtk-config; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CONFIG_GTK+set}" = set; then :
+if test "${ac_cv_path_ac_pt_CONFIG_GTK+set}" = set; then :
$as_echo_n "(cached) " >&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.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
+ case $ac_pt_CONFIG_GTK in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_ac_pt_CONFIG_GTK="$ac_pt_CONFIG_GTK" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_dummy="${GTK_DIR}/bin:$PATH"
+for as_dir in $as_dummy
do
IFS=$as_save_IFS
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_path_ac_pt_CONFIG_GTK="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
IFS=$as_save_IFS
+ ;;
+esac
fi
-fi
-ac_ct_CONFIG_GTK=$ac_cv_prog_ac_ct_CONFIG_GTK
-if test -n "$ac_ct_CONFIG_GTK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CONFIG_GTK" >&5
-$as_echo "$ac_ct_CONFIG_GTK" >&6; }
+ac_pt_CONFIG_GTK=$ac_cv_path_ac_pt_CONFIG_GTK
+if test -n "$ac_pt_CONFIG_GTK"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_CONFIG_GTK" >&5
+$as_echo "$ac_pt_CONFIG_GTK" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
- if test "x$ac_ct_CONFIG_GTK" = x; then
+ if test "x$ac_pt_CONFIG_GTK" = x; then
CONFIG_GTK="No"
else
case $cross_compiling:$ac_tool_warned in
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
ac_tool_warned=yes ;;
esac
- CONFIG_GTK=$ac_ct_CONFIG_GTK
+ CONFIG_GTK=$ac_pt_CONFIG_GTK
fi
else
- CONFIG_GTK="$ac_cv_prog_CONFIG_GTK"
+ CONFIG_GTK="$ac_cv_path_CONFIG_GTK"
fi
if test ! "x${CONFIG_GTK}" = xNo; then