@@ -9303,28 +9303,8 @@ fi
93039303
93049304
93059305
9306-
9307- if test -z " $SKIP_GTK2 " ; then
9308-
9309- { $as_echo " $as_me :${as_lineno-$LINENO } : checking --disable-gtktest argument" >&5
9310- $as_echo_n " checking --disable-gtktest argument... " >&6 ; }
9311- # Check whether --enable-gtktest was given.
9312- if test " ${enable_gtktest+set} " = set ; then :
9313- enableval=$enable_gtktest ;
9314- else
9315- enable_gtktest=yes
9316- fi
9317-
9318- if test " x$enable_gtktest " = " xyes" ; then
9319- { $as_echo " $as_me :${as_lineno-$LINENO } : result: gtk test enabled" >&5
9320- $as_echo " gtk test enabled" >&6 ; }
9321- else
9322- { $as_echo " $as_me :${as_lineno-$LINENO } : result: gtk test disabled" >&5
9323- $as_echo " gtk test disabled" >&6 ; }
9324- fi
9325-
9326- if test " X$PKG_CONFIG " = " X" ; then
9327- if test -n " $ac_tool_prefix " ; then
9306+ if test " X$PKG_CONFIG " = " X" ; then
9307+ if test -n " $ac_tool_prefix " ; then
93289308 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
93299309set dummy ${ac_tool_prefix} pkg-config; ac_word=$2
93309310{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
@@ -9422,6 +9402,26 @@ else
94229402 PKG_CONFIG=" $ac_cv_path_PKG_CONFIG "
94239403fi
94249404
9405+ fi
9406+
9407+
9408+ if test -z " $SKIP_GTK2 " ; then
9409+
9410+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking --disable-gtktest argument" >&5
9411+ $as_echo_n " checking --disable-gtktest argument... " >&6 ; }
9412+ # Check whether --enable-gtktest was given.
9413+ if test " ${enable_gtktest+set} " = set ; then :
9414+ enableval=$enable_gtktest ;
9415+ else
9416+ enable_gtktest=yes
9417+ fi
9418+
9419+ if test " x$enable_gtktest " = " xyes" ; then
9420+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: gtk test enabled" >&5
9421+ $as_echo " gtk test enabled" >&6 ; }
9422+ else
9423+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: gtk test disabled" >&5
9424+ $as_echo " gtk test disabled" >&6 ; }
94259425 fi
94269426
94279427 if test " x$PKG_CONFIG " ! = " xno" ; then
@@ -9677,107 +9677,6 @@ $as_echo "gtk test enabled" >&6; }
96779677$as_echo " gtk test disabled" >&6 ; }
96789678 fi
96799679
9680- if test " X$PKG_CONFIG " = " X" ; then
9681- if test -n " $ac_tool_prefix " ; then
9682- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9683- set dummy ${ac_tool_prefix} pkg-config; ac_word=$2
9684- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
9685- $as_echo_n " checking for $ac_word ... " >&6 ; }
9686- if ${ac_cv_path_PKG_CONFIG+: } false ; then :
9687- $as_echo_n " (cached) " >&6
9688- else
9689- case $PKG_CONFIG in
9690- [\\ /]* | ? :[\\ /]* )
9691- ac_cv_path_PKG_CONFIG=" $PKG_CONFIG " # Let the user override the test with a path.
9692- ;;
9693- * )
9694- as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
9695- for as_dir in $PATH
9696- do
9697- IFS=$as_save_IFS
9698- test -z " $as_dir " && as_dir=.
9699- for ac_exec_ext in ' ' $ac_executable_extensions ; do
9700- if as_fn_executable_p " $as_dir /$ac_word$ac_exec_ext " ; then
9701- ac_cv_path_PKG_CONFIG=" $as_dir /$ac_word$ac_exec_ext "
9702- $as_echo " $as_me :${as_lineno-$LINENO } : found $as_dir /$ac_word$ac_exec_ext " >&5
9703- break 2
9704- fi
9705- done
9706- done
9707- IFS=$as_save_IFS
9708-
9709- ;;
9710- esac
9711- fi
9712- PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9713- if test -n " $PKG_CONFIG " ; then
9714- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $PKG_CONFIG " >&5
9715- $as_echo " $PKG_CONFIG " >&6 ; }
9716- else
9717- { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
9718- $as_echo " no" >&6 ; }
9719- fi
9720-
9721-
9722- fi
9723- if test -z " $ac_cv_path_PKG_CONFIG " ; then
9724- ac_pt_PKG_CONFIG=$PKG_CONFIG
9725- # Extract the first word of "pkg-config", so it can be a program name with args.
9726- set dummy pkg-config; ac_word=$2
9727- { $as_echo " $as_me :${as_lineno-$LINENO } : checking for $ac_word " >&5
9728- $as_echo_n " checking for $ac_word ... " >&6 ; }
9729- if ${ac_cv_path_ac_pt_PKG_CONFIG+: } false ; then :
9730- $as_echo_n " (cached) " >&6
9731- else
9732- case $ac_pt_PKG_CONFIG in
9733- [\\ /]* | ? :[\\ /]* )
9734- ac_cv_path_ac_pt_PKG_CONFIG=" $ac_pt_PKG_CONFIG " # Let the user override the test with a path.
9735- ;;
9736- * )
9737- as_save_IFS=$IFS ; IFS=$PATH_SEPARATOR
9738- for as_dir in $PATH
9739- do
9740- IFS=$as_save_IFS
9741- test -z " $as_dir " && as_dir=.
9742- for ac_exec_ext in ' ' $ac_executable_extensions ; do
9743- if as_fn_executable_p " $as_dir /$ac_word$ac_exec_ext " ; then
9744- ac_cv_path_ac_pt_PKG_CONFIG=" $as_dir /$ac_word$ac_exec_ext "
9745- $as_echo " $as_me :${as_lineno-$LINENO } : found $as_dir /$ac_word$ac_exec_ext " >&5
9746- break 2
9747- fi
9748- done
9749- done
9750- IFS=$as_save_IFS
9751-
9752- ;;
9753- esac
9754- fi
9755- ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9756- if test -n " $ac_pt_PKG_CONFIG " ; then
9757- { $as_echo " $as_me :${as_lineno-$LINENO } : result: $ac_pt_PKG_CONFIG " >&5
9758- $as_echo " $ac_pt_PKG_CONFIG " >&6 ; }
9759- else
9760- { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
9761- $as_echo " no" >&6 ; }
9762- fi
9763-
9764- if test " x$ac_pt_PKG_CONFIG " = x; then
9765- PKG_CONFIG=" no"
9766- else
9767- case $cross_compiling :$ac_tool_warned in
9768- yes:)
9769- { $as_echo " $as_me :${as_lineno-$LINENO } : WARNING: using cross tools not prefixed with host triplet" >&5
9770- $as_echo " $as_me : WARNING: using cross tools not prefixed with host triplet" >&2 ; }
9771- ac_tool_warned=yes ;;
9772- esac
9773- PKG_CONFIG=$ac_pt_PKG_CONFIG
9774- fi
9775- else
9776- PKG_CONFIG=" $ac_cv_path_PKG_CONFIG "
9777- fi
9778-
9779- fi
9780-
97819680 if test " x$PKG_CONFIG " ! = " xno" ; then
97829681
97839682 if test " X$GTK_CONFIG " ! = " Xno" -o " X$PKG_CONFIG " ! = " Xno" ; then
@@ -13026,6 +12925,56 @@ rm -rf conftest*
1302612925fi
1302712926
1302812927
12928+
12929+ if test " x$PKG_CONFIG " ! = " xno" ; then
12930+ canberra_lib=` $PKG_CONFIG --libs libcanberrax 2> /dev/null`
12931+ canberra_cflags=` $PKG_CONFIG --cflags libcanberrax 2> /dev/null`
12932+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: canberra_lib: $canberra_lib " >&5
12933+ $as_echo " canberra_lib: $canberra_lib " >&6 ; }
12934+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: canberra_cflags: $canberra_cflags " >&5
12935+ $as_echo " canberra_cflags: $canberra_cflags " >&6 ; }
12936+ fi
12937+ if test " x$canberra_lib " = " x" ; then
12938+ canberra_lib=-lcanberra
12939+ canberra_cflags=-D_REENTRANT
12940+ fi
12941+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: canberra_lib: $canberra_lib " >&5
12942+ $as_echo " canberra_lib: $canberra_lib " >&6 ; }
12943+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: canberra_cflags: $canberra_cflags " >&5
12944+ $as_echo " canberra_cflags: $canberra_cflags " >&6 ; }
12945+ { $as_echo " $as_me :${as_lineno-$LINENO } : checking for libcanberra" >&5
12946+ $as_echo_n " checking for libcanberra... " >&6 ; }
12947+ ac_save_CFLAGS=" $CFLAGS "
12948+ ac_save_LIBS=" $LIBS "
12949+ CFLAGS=" $CFLAGS $canberra_cflags "
12950+ LIBS=" $LIBS $canberra_lib "
12951+ cat confdefs.h - << _ACEOF >conftest.$ac_ext
12952+ /* end confdefs.h. */
12953+
12954+ # include <canberra.h>
12955+
12956+ int
12957+ main ()
12958+ {
12959+
12960+ ca_context *hello;
12961+ ca_context_create(&hello);
12962+ ;
12963+ return 0;
12964+ }
12965+ _ACEOF
12966+ if ac_fn_c_try_link " $LINENO " ; then :
12967+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: yes" >&5
12968+ $as_echo " yes" >&6 ; }; $as_echo " #define HAVE_CANBERRA 1" >> confdefs.h
12969+
12970+ else
12971+ { $as_echo " $as_me :${as_lineno-$LINENO } : result: no" >&5
12972+ $as_echo " no" >&6 ; }; CFLAGS=" $ac_save_CFLAGS " ; LIBS=" $ac_save_LIBS "
12973+ fi
12974+ rm -f core conftest.err conftest.$ac_objext \
12975+ conftest$ac_exeext conftest.$ac_ext
12976+
12977+
1302912978{ $as_echo " $as_me :${as_lineno-$LINENO } : checking for st_blksize" >&5
1303012979$as_echo_n " checking for st_blksize... " >&6 ; }
1303112980cat confdefs.h - << _ACEOF >conftest.$ac_ext
0 commit comments