#! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host darwintel: # # ./configure --includedir=/usr/local/include/glib12 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-unknown-gnu # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" for ac_option do case "$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running ${CONFIG_SHELL-/bin/sh} ./configure --includedir=/usr/local/include/glib12 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-unknown-gnu --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure --includedir=/usr/local/include/glib12 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-unknown-gnu --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "./config.status generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "$ac_cs_usage"; exit 0 ;; *) echo "$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=. ac_given_INSTALL="/usr/bin/install -c -o root -g wheel" trap 'rm -fr glib.spec Makefile glib-config gmodule/gmoduleconf.h gmodule/Makefile gthread/Makefile docs/Makefile docs/glib-config.1 tests/Makefile glib.pc gmodule.pc gthread.pc config.h conftest*; exit 1' 1 2 15 # Protect against being on the right side of a sed subst in config.status. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF /^[ ]*VPATH[ ]*=[^:]*$/d s%@SHELL@%/bin/sh%g s%@CFLAGS@%-fno-common -Wall%g s%@CPPFLAGS@%%g s%@CXXFLAGS@%-fno-common%g s%@FFLAGS@%%g s%@DEFS@%-DHAVE_CONFIG_H%g s%@LDFLAGS@%%g s%@LIBS@%%g s%@exec_prefix@%${prefix}%g s%@prefix@%/usr/local%g s%@program_transform_name@%s,x,x,%g s%@bindir@%${exec_prefix}/bin%g s%@sbindir@%${exec_prefix}/sbin%g s%@libexecdir@%${exec_prefix}/libexec%g s%@datadir@%${prefix}/share%g s%@sysconfdir@%${prefix}/etc%g s%@sharedstatedir@%${prefix}/com%g s%@localstatedir@%${prefix}/var%g s%@libdir@%${exec_prefix}/lib%g s%@includedir@%/usr/local/include/glib12%g s%@oldincludedir@%/usr/include%g s%@infodir@%/usr/local/info/%g s%@mandir@%/usr/local/man%g s%@GLIB_MAJOR_VERSION@%1%g s%@GLIB_MINOR_VERSION@%2%g s%@GLIB_MICRO_VERSION@%10%g s%@GLIB_VERSION@%1.2.10%g s%@GLIB_INTERFACE_AGE@%10%g s%@GLIB_BINARY_AGE@%10%g s%@LT_RELEASE@%12%g s%@LT_CURRENT@%3%g s%@LT_REVISION@%0%g s%@LT_AGE@%0%g s%@INSTALL_PROGRAM@%install -s -o root -g wheel -m 555%g s%@INSTALL_SCRIPT@%install -o root -g wheel -m 555%g s%@INSTALL_DATA@%install -o root -g wheel -m 444%g s%@PACKAGE@%glib%g s%@VERSION@%1.2.10%g s%@ACLOCAL@%aclocal%g s%@AUTOCONF@%autoconf%g s%@AUTOMAKE@%automake%g s%@AUTOHEADER@%autoheader%g s%@MAKEINFO@%makeinfo%g s%@SET_MAKE@%%g s%@host@%i386-unknown-gnu%g s%@host_alias@%i386-unknown-gnu%g s%@host_cpu@%i386%g s%@host_vendor@%unknown%g s%@host_os@%gnu%g s%@build@%i386-unknown-gnu%g s%@build_alias@%i386-unknown-gnu%g s%@build_cpu@%i386%g s%@build_vendor@%unknown%g s%@build_os@%gnu%g s%@RANLIB@%ranlib%g s%@CC@%cc%g s%@LN_S@%ln -s%g s%@LIBTOOL@%$(SHELL) /usr/local/bin/libtool%g s%@MAINTAINER_MODE_TRUE@%#%g s%@MAINTAINER_MODE_FALSE@%%g s%@MAINT@%#%g s%@ENABLE_MEM_CHECK@%%g s%@ENABLE_MEM_PROFILE@%%g s%@CPP@%cc -E%g s%@G_MODULE_IMPL@%G_MODULE_IMPL_DL%g s%@G_MODULE_LIBS@%%g s%@G_MODULE_LDFLAGS@%%g s%@G_MODULE_HAVE_DLERROR@%1%g s%@G_MODULE_NEED_USCORE@%0%g s%@G_MODULE_BROKEN_RTLD_GLOBAL@%0%g s%@GLIB_DEBUG_FLAGS@%%g s%@G_THREAD_CFLAGS@% -D_REENTRANT%g s%@G_THREAD_LIBS@%-pthread%g CEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi CONFIG_FILES=${CONFIG_FILES-"glib.spec Makefile glib-config gmodule/gmoduleconf.h gmodule/Makefile gthread/Makefile docs/Makefile docs/glib-config.1 tests/Makefile glib.pc gmodule.pc gthread.pc "} for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then CONFIG_HEADERS="config.h" fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done # Note that if two cases are the same, case goes with the first one. # Note also that this is inside an AC_OUTPUT_COMMAND. We do not depend # on variable expansion in case labels. Look at the generated config.status # for a hint. case xyes in xyes) glib_float_h=yes glib_mf=FLT_MIN glib_Mf=FLT_MAX glib_md=DBL_MIN glib_Md=DBL_MAX ;; xyes) glib_values_h=yes glib_mf=MINFLOAT glib_Mf=MAXFLOAT glib_md=MINDOUBLE glib_Md=MAXDOUBLE ;; esac case xyes in xyes) glib_limits_h=yes glib_ms=SHRT_MIN glib_Ms=SHRT_MAX glib_mi=INT_MIN glib_Mi=INT_MAX glib_ml=LONG_MIN glib_Ml=LONG_MAX ;; xyes) glib_values_h=yes glib_ms=MINSHORT glib_Ms=MAXSHORT glib_mi=MININT glib_Mi=MAXINT glib_ml=MINLONG glib_Ml=MAXLONG ;; esac if test xyes = xyes ; then glib_sys_poll_h=yes fi case 2 in 2) gint16=short;; 4) gint16=int;; esac case 4 in 2) gint32=short;; 4) gint32=int;; 4) gint32=long;; esac case 8 in 4) gint64=int glib_extension= glib_warning_guard= gint64_constant='(val)' ;; 4) gint64=long glib_extension= glib_warning_guard= gint64_constant='(val##L)' ;; 8) gint64='long long' glib_extension='G_GNUC_EXTENSION ' glib_warning_guard=" #if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) # define G_GNUC_EXTENSION __extension__ #else # define G_GNUC_EXTENSION #endif " gint64_constant='(G_GNUC_EXTENSION (val##LL))' ;; esac gintbits=32 glongbits=32 case 4 in 4) glib_gpi_cast='' glib_gpui_cast='' ;; 4) glib_gpi_cast='(glong)' glib_gpui_cast='(gulong)' ;; *) glib_unknown_void_p=yes ;; esac case xyes in xyes) glib_atexit=" #ifdef NeXT /* @#%@! NeXTStep */ # define g_ATEXIT(proc) (!atexit (proc)) #else # define g_ATEXIT(proc) (atexit (proc)) #endif" ;; xno) glib_atexit=" #define g_ATEXIT(proc) (on_exit ((void (*)(int, void*))(proc), NULL))" ;; esac case xyes in xyes) glib_memmove=' #define g_memmove(d,s,n) G_STMT_START { memmove ((d), (s), (n)); } G_STMT_END' ;; *) glib_memmove=" /* We make the assumption that if memmove isn't available, then * bcopy will do the job. This isn't safe everywhere. (bcopy can't * necessarily handle overlapping copies) */ #define g_memmove(d,s,n) G_STMT_START { bcopy ((s), (d), (n)); } G_STMT_END" ;; esac glib_defines=" #define GLIB_MAJOR_VERSION 1 #define GLIB_MINOR_VERSION 2 #define GLIB_MICRO_VERSION 10 " case xyes in xyes) glib_vacopy='#define G_VA_COPY va_copy' ;; xyes) glib_vacopy='#define G_VA_COPY __va_copy' ;; *) glib_vacopy='' esac if test xyes = xno; then glib_vacopy="$glib_vacopy #define G_VA_COPY_AS_ARRAY 1" fi if test xyes = xyes; then glib_inline='#define G_HAVE_INLINE 1' fi if test xyes = xyes; then glib_inline="$glib_inline #define G_HAVE___INLINE 1" fi if test xyes = xyes; then glib_inline="$glib_inline #define G_HAVE___INLINE__ 1" fi case xyes in xno) g_byte_order=G_BIG_ENDIAN g_bs_native=BE g_bs_alien=LE ;; *) g_byte_order=G_LITTLE_ENDIAN g_bs_native=LE g_bs_alien=BE ;; esac if test xyes = xyes; then glib_wc=' #define G_HAVE_WCHAR_H 1' fi if test xyes = xyes; then glib_wc="$glib_wc #define G_HAVE_WCTYPE_H 1" fi if test xyes = xno; then glib_wc="$glib_wc #define G_HAVE_BROKEN_WCTYPE 1" fi case xyes in xyes) g_enable_threads_def="#define";; *) g_enable_threads_def="#undef ";; esac g_threads_impl_def=POSIX g_mutex_has_default="yes" g_mutex_sizeof="44" g_mutex_contents="-89,-85,-86,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ## Generate `glibconfig.h' in two cases ## 1. `config.status' is run either explicitly, or via configure. ## Esp. not when it is run in `Makefile' to generate makefiles and ## config.h ## 2. CONFIG_OTHER is set explicitly ## ## Case 1 is difficult. We know that `automake' sets one of ## CONFIG_FILES or CONFIG_HEADERS to empty. This heuristic works ## only when AM_CONFIG_HEADER is set, however. if test -n "${CONFIG_FILES}" && test -n "${CONFIG_HEADERS}"; then # Both CONFIG_FILES and CONFIG_HEADERS are non-empty ==> Case 1 CONFIG_OTHER=${CONFIG_OTHER:-glibconfig.h} fi case "$CONFIG_OTHER" in *glibconfig.h*) echo creating glibconfig.h outfile=glibconfig.h-tmp cat > $outfile <<\_______EOF /* glibconfig.h * * This is a generated file. Please modify `configure.in' */ #ifndef GLIBCONFIG_H #define GLIBCONFIG_H _______EOF if test x$glib_limits_h = xyes; then echo '#include ' >> $outfile fi if test x$glib_float_h = xyes; then echo '#include ' >> $outfile fi if test x$glib_values_h = xyes; then echo '#include ' >> $outfile fi if test x$g_mutex_header_file != x; then echo '#include <'"$g_mutex_header_file"'>' >> $outfile fi if test x$glib_sys_poll_h = xyes; then echo '#define GLIB_HAVE_SYS_POLL_H' >> $outfile fi cat >> $outfile <<_______EOF #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #define G_MINFLOAT $glib_mf #define G_MAXFLOAT $glib_Mf #define G_MINDOUBLE $glib_md #define G_MAXDOUBLE $glib_Md #define G_MINSHORT $glib_ms #define G_MAXSHORT $glib_Ms #define G_MININT $glib_mi #define G_MAXINT $glib_Mi #define G_MINLONG $glib_ml #define G_MAXLONG $glib_Ml _______EOF ### this should always be true in a modern C/C++ compiler cat >>$outfile <<_______EOF typedef signed char gint8; typedef unsigned char guint8; _______EOF if test -n "$gint16"; then cat >>$outfile <<_______EOF typedef signed $gint16 gint16; typedef unsigned $gint16 guint16; _______EOF fi if test -n "$gint32"; then cat >>$outfile <<_______EOF typedef signed $gint32 gint32; typedef unsigned $gint32 guint32; _______EOF fi if test -n "$gint64"; then cat >>$outfile <<_______EOF ${glib_warning_guard}#define G_HAVE_GINT64 1 ${glib_extension}typedef signed $gint64 gint64; ${glib_extension}typedef unsigned $gint64 guint64; #define G_GINT64_CONSTANT(val) $gint64_constant _______EOF fi if test -z "$glib_unknown_void_p"; then cat >>$outfile <<_______EOF #define GPOINTER_TO_INT(p) ((gint) ${glib_gpi_cast} (p)) #define GPOINTER_TO_UINT(p) ((guint) ${glib_gpui_cast} (p)) #define GINT_TO_POINTER(i) ((gpointer) ${glib_gpi_cast} (i)) #define GUINT_TO_POINTER(u) ((gpointer) ${glib_gpui_cast} (u)) _______EOF else echo '#error SIZEOF_VOID_P unknown - This should never happen' >>$outfile fi cat >>$outfile <<_______EOF $glib_atexit $glib_memmove $glib_defines $glib_vacopy #ifdef __cplusplus #define G_HAVE_INLINE 1 #else /* !__cplusplus */ $glib_inline #endif /* !__cplusplus */ _______EOF echo >>$outfile if test x$g_mutex_has_default = xyes; then cat >>$outfile <<_______EOF $g_enable_threads_def G_THREADS_ENABLED #define G_THREADS_IMPL_$g_threads_impl_def typedef struct _GStaticMutex GStaticMutex; struct _GStaticMutex { struct _GMutex *runtime_mutex; union { char pad[$g_mutex_sizeof]; double dummy_double; void *dummy_pointer; long dummy_long; } aligned_pad_u; }; #define G_STATIC_MUTEX_INIT { NULL, { { $g_mutex_contents} } } #define g_static_mutex_get_mutex(mutex) \ (g_thread_use_default_impl ? ((GMutex*) &((mutex)->aligned_pad_u)) : \ g_static_mutex_get_mutex_impl (&((mutex)->runtime_mutex))) _______EOF else cat >>$outfile <<_______EOF $g_enable_threads_def G_THREADS_ENABLED #define G_THREADS_IMPL_$g_threads_impl_def typedef struct _GMutex* GStaticMutex; #define G_STATIC_MUTEX_INIT NULL #define g_static_mutex_get_mutex(mutex) (g_static_mutex_get_mutex_impl (mutex)) _______EOF fi echo >>$outfile g_bit_sizes="16 32" if test -n "$gint64"; then g_bit_sizes="$g_bit_sizes 64" fi for bits in $g_bit_sizes; do cat >>$outfile <<_______EOF #define GINT${bits}_TO_${g_bs_native}(val) ((gint${bits}) (val)) #define GUINT${bits}_TO_${g_bs_native}(val) ((guint${bits}) (val)) #define GINT${bits}_TO_${g_bs_alien}(val) ((gint${bits}) GUINT${bits}_SWAP_LE_BE (val)) #define GUINT${bits}_TO_${g_bs_alien}(val) (GUINT${bits}_SWAP_LE_BE (val)) _______EOF done cat >>$outfile <<_______EOF #define GLONG_TO_LE(val) ((glong) GINT${glongbits}_TO_LE (val)) #define GULONG_TO_LE(val) ((gulong) GUINT${glongbits}_TO_LE (val)) #define GLONG_TO_BE(val) ((glong) GINT${glongbits}_TO_BE (val)) #define GULONG_TO_BE(val) ((gulong) GUINT${glongbits}_TO_BE (val)) #define GINT_TO_LE(val) ((gint) GINT${gintbits}_TO_LE (val)) #define GUINT_TO_LE(val) ((guint) GUINT${gintbits}_TO_LE (val)) #define GINT_TO_BE(val) ((gint) GINT${gintbits}_TO_BE (val)) #define GUINT_TO_BE(val) ((guint) GUINT${gintbits}_TO_BE (val)) #define G_BYTE_ORDER $g_byte_order _______EOF if test -r glibconfig-sysdefs.h; then cat glibconfig-sysdefs.h >>$outfile fi cat >>$outfile <<_______EOF $glib_wc #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* GLIBCONFIG_H */ _______EOF if cmp -s $outfile glibconfig.h; then echo glibconfig.h is unchanged rm -f $outfile else mv $outfile glibconfig.h fi ;; esac case "$CONFIG_FILES" in *glib-config*)chmod +x glib-config;; esac exit 0