~ubuntu-branches/ubuntu/maverick/crossfire-client/maverick

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Kari Pahula
  • Date: 2007-04-13 21:15:44 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070413211544-vjo6zesj6g0wgmwf
Tags: 1.10.0-1
* New upstream release
* Install the README, README-dev and TODO files specific to the GTK2
  client to the corresponding package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for crossfire-client 1.9.1.
 
3
# Generated by GNU Autoconf 2.59 for crossfire-client 1.10.0.
4
4
#
5
5
# Copyright (C) 2003 Free Software Foundation, Inc.
6
6
# This configure script is free software; the Free Software Foundation
267
267
# Identity of this package.
268
268
PACKAGE_NAME='crossfire-client'
269
269
PACKAGE_TARNAME='crossfire-client'
270
 
PACKAGE_VERSION='1.9.1'
271
 
PACKAGE_STRING='crossfire-client 1.9.1'
 
270
PACKAGE_VERSION='1.10.0'
 
271
PACKAGE_STRING='crossfire-client 1.10.0'
272
272
PACKAGE_BUGREPORT=''
273
273
 
274
274
ac_unique_file="crossfire-client.spec"
310
310
# include <unistd.h>
311
311
#endif"
312
312
 
313
 
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKDIR TAR DEPEND CP RM PERL AR 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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PKG_CONFIG ac_pt_PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLLIBS OPENGL_LIBS LN_S RANLIB ac_ct_RANLIB GTK_CONFIG GTK_CFLAGS GTK_LIBS CFGTK EGREP GUI_OBJS GUI_SRCS SND_LIBS TARGET CF_SUBDIRS ALSA9_TARGET ALSA9_LIBS SDL_CONFIG SDL_CFLAGS SDL_LIBS DMALLOC_LIB XPM SOUNDDIR LIBXPM_LIB DATADIR LIBOBJS LTLIBOBJS'
 
313
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MKDIR TAR DEPEND CP RM PERL AR PKG_CONFIG SVNVERSION 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 X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS WIN32_LIBS ac_pt_PKG_CONFIG GTK2_CFLAGS GTK2_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS CFGTK MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PACKAGE_LIBS INTLLIBS OPENGL_LIBS LN_S RANLIB ac_ct_RANLIB EGREP GUI_OBJS GUI_SRCS SND_LIBS TARGET CF_SUBDIRS ALSA9_TARGET ALSA9_LIBS SDL_CONFIG SDL_CFLAGS SDL_LIBS DMALLOC_LIB XPM SOUNDDIR LIBXPM_LIB DATADIR LIBOBJS LTLIBOBJS'
314
314
ac_subst_files=''
315
315
 
316
316
# Initialize some variables set by options.
775
775
ac_env_PKG_CONFIG_value=$PKG_CONFIG
776
776
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
777
777
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
778
 
ac_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
779
 
ac_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
780
 
ac_cv_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
781
 
ac_cv_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
782
 
ac_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
783
 
ac_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
784
 
ac_cv_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
785
 
ac_cv_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
 
778
ac_env_GTK2_CFLAGS_set=${GTK2_CFLAGS+set}
 
779
ac_env_GTK2_CFLAGS_value=$GTK2_CFLAGS
 
780
ac_cv_env_GTK2_CFLAGS_set=${GTK2_CFLAGS+set}
 
781
ac_cv_env_GTK2_CFLAGS_value=$GTK2_CFLAGS
 
782
ac_env_GTK2_LIBS_set=${GTK2_LIBS+set}
 
783
ac_env_GTK2_LIBS_value=$GTK2_LIBS
 
784
ac_cv_env_GTK2_LIBS_set=${GTK2_LIBS+set}
 
785
ac_cv_env_GTK2_LIBS_value=$GTK2_LIBS
786
786
 
787
787
#
788
788
# Report the --help message.
791
791
  # Omit some internal or obsolete options to make the list less imposing.
792
792
  # This message is too long to be a string in the A/UX 3.1 sh.
793
793
  cat <<_ACEOF
794
 
\`configure' configures crossfire-client 1.9.1 to adapt to many kinds of systems.
 
794
\`configure' configures crossfire-client 1.10.0 to adapt to many kinds of systems.
795
795
 
796
796
Usage: $0 [OPTION]... [VAR=VALUE]...
797
797
 
862
862
 
863
863
if test -n "$ac_init_help"; then
864
864
  case $ac_init_help in
865
 
     short | recursive ) echo "Configuration of crossfire-client 1.9.1:";;
 
865
     short | recursive ) echo "Configuration of crossfire-client 1.10.0:";;
866
866
   esac
867
867
  cat <<\_ACEOF
868
868
 
871
871
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
872
872
  --disable-dependency-tracking  speeds up one-time build
873
873
  --enable-dependency-tracking   do not reject slow dependency extractors
874
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
875
 
                          (and sometimes confusing) to the casual installer
876
874
  --enable-debug          turn on debugging default=no
877
875
  --enable-ansi           turn on strict ansi default=no
878
876
  --disable-sound         disable sound support default=implement sound support if supported libraries exist
879
877
  --disable-alsa9         disable ALSA9 sound support default=use alsa9 sound support if alsa9 libraries exist
880
878
  --disable-alsa          disable ALSA sound support default=use alsa sound support if alsa libraries exist
881
 
  --disable-gtk           make x11 client default=make gtk client if available
882
 
  --disable-sdl              Disable linking with the SDL library, default is to use it if available
883
 
  --enable-dmalloc          Enable checking for dmalloc library, default is to use it if available
 
879
  --disable-gtkv1         do not make original gtk client default=make it if available
 
880
  --disable-gtkv2         do not make gtk-v2 client default=make it if available
 
881
  --enable-cfgtk2         enable building the original gtkv1 client with GTK+ 2
 
882
  --disable-sdl           disable linking with the SDL library, default is to use it if available
 
883
  --enable-dmalloc        enable checking for dmalloc library, default is to use it if available
884
884
  --disable-gtktest       Do not try to compile and run a test GTK program
 
885
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
886
                          (and sometimes confusing) to the casual installer
885
887
  --disable-sdltest       Do not try to compile and run a test SDL program
886
888
 
887
889
Optional Packages:
888
890
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
889
891
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
890
892
  --with-x                use the X Window System
891
 
  --with-sound-dir=dir    Directory where the sounds are located (default=/usr/local/lib/sounds)
 
893
  --with-sound-dir=dir    directory where the sounds are located (default=/usr/local/lib/sounds)
892
894
  --with-ldflags=dir      provide addition linker directives to find libraries
893
895
  --with-includes=dir     provide different compiler options to find headers with
 
896
  --with-logevel=level    sets default loglevel
894
897
  --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
895
898
  --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
896
899
  --with-sdl-prefix=PFX   Prefix where SDL is installed (optional)
905
908
              headers in a nonstandard directory <include dir>
906
909
  CPP         C preprocessor
907
910
  PKG_CONFIG  path to pkg-config utility
908
 
  PACKAGE_CFLAGS
909
 
              C compiler flags for PACKAGE, overriding pkg-config
910
 
  PACKAGE_LIBS
911
 
              linker flags for PACKAGE, overriding pkg-config
 
911
  GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
 
912
  GTK2_LIBS   linker flags for GTK2, overriding pkg-config
912
913
 
913
914
Use these variables to override the choices made by `configure' or to help
914
915
it to find libraries and programs with nonstandard names/locations.
1008
1009
test -n "$ac_init_help" && exit 0
1009
1010
if $ac_init_version; then
1010
1011
  cat <<\_ACEOF
1011
 
crossfire-client configure 1.9.1
 
1012
crossfire-client configure 1.10.0
1012
1013
generated by GNU Autoconf 2.59
1013
1014
 
1014
1015
Copyright (C) 2003 Free Software Foundation, Inc.
1022
1023
This file contains any messages produced by compilers while
1023
1024
running configure, to aid debugging if configure makes a mistake.
1024
1025
 
1025
 
It was created by crossfire-client $as_me 1.9.1, which was
 
1026
It was created by crossfire-client $as_me 1.10.0, which was
1026
1027
generated by GNU Autoconf 2.59.  Invocation command line was
1027
1028
 
1028
1029
  $ $0 $@
1753
1754
 
1754
1755
# Define the identity of the package.
1755
1756
 PACKAGE='crossfire-client'
1756
 
 VERSION='1.9.1'
 
1757
 VERSION='1.10.0'
1757
1758
 
1758
1759
 
1759
1760
cat >>confdefs.h <<_ACEOF
1888
1889
 
1889
1890
 
1890
1891
 
1891
 
CF_SUBDIRS="common x11 pixmaps utils help"
 
1892
CF_SUBDIRS="common pixmaps utils help"
1892
1893
 
1893
1894
# Extract the first word of "mkdir", so it can be a program name with args.
1894
1895
set dummy mkdir; ac_word=$2
2163
2164
echo "${ECHO_T}no" >&6
2164
2165
fi
2165
2166
 
 
2167
# Extract the first word of "pkg-config", so it can be a program name with args.
 
2168
set dummy pkg-config; ac_word=$2
 
2169
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2170
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2171
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
2172
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2173
else
 
2174
  case $PKG_CONFIG in
 
2175
  [\\/]* | ?:[\\/]*)
 
2176
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
2177
  ;;
 
2178
  *)
 
2179
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2180
for as_dir in $PATH
 
2181
do
 
2182
  IFS=$as_save_IFS
 
2183
  test -z "$as_dir" && as_dir=.
 
2184
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2185
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2186
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
2187
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2188
    break 2
 
2189
  fi
 
2190
done
 
2191
done
 
2192
 
 
2193
  ;;
 
2194
esac
 
2195
fi
 
2196
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
2197
 
 
2198
if test -n "$PKG_CONFIG"; then
 
2199
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
2200
echo "${ECHO_T}$PKG_CONFIG" >&6
 
2201
else
 
2202
  echo "$as_me:$LINENO: result: no" >&5
 
2203
echo "${ECHO_T}no" >&6
 
2204
fi
 
2205
 
 
2206
 
 
2207
# Extract the first word of "svnversion", so it can be a program name with args.
 
2208
set dummy svnversion; ac_word=$2
 
2209
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2210
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2211
if test "${ac_cv_path_SVNVERSION+set}" = set; then
 
2212
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2213
else
 
2214
  case $SVNVERSION in
 
2215
  [\\/]* | ?:[\\/]*)
 
2216
  ac_cv_path_SVNVERSION="$SVNVERSION" # Let the user override the test with a path.
 
2217
  ;;
 
2218
  *)
 
2219
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2220
for as_dir in $PATH
 
2221
do
 
2222
  IFS=$as_save_IFS
 
2223
  test -z "$as_dir" && as_dir=.
 
2224
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2225
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2226
    ac_cv_path_SVNVERSION="$as_dir/$ac_word$ac_exec_ext"
 
2227
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2228
    break 2
 
2229
  fi
 
2230
done
 
2231
done
 
2232
 
 
2233
  ;;
 
2234
esac
 
2235
fi
 
2236
SVNVERSION=$ac_cv_path_SVNVERSION
 
2237
 
 
2238
if test -n "$SVNVERSION"; then
 
2239
  echo "$as_me:$LINENO: result: $SVNVERSION" >&5
 
2240
echo "${ECHO_T}$SVNVERSION" >&6
 
2241
else
 
2242
  echo "$as_me:$LINENO: result: no" >&5
 
2243
echo "${ECHO_T}no" >&6
 
2244
fi
 
2245
 
2166
2246
 
2167
2247
DEPDIR="${am__leading_dot}deps"
2168
2248
 
3648
3728
  # See if we find them without any special options.
3649
3729
  # Don't add to $LIBS permanently.
3650
3730
  ac_save_LIBS=$LIBS
3651
 
  LIBS="-lXt $LIBS"
 
3731
  LIBS="-lX11 $LIBS"
3652
3732
  cat >conftest.$ac_ext <<_ACEOF
3653
3733
/* confdefs.h.  */
3654
3734
_ACEOF
4893
4973
fi
4894
4974
 
4895
4975
 
4896
 
pkg_modules="gtk+-2.0 >= 2.0.0"
4897
 
 
4898
 
 
4899
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4900
 
        if test -n "$ac_tool_prefix"; then
4901
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4902
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4903
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4904
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4905
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4907
 
else
4908
 
  case $PKG_CONFIG in
4909
 
  [\\/]* | ?:[\\/]*)
4910
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4911
 
  ;;
4912
 
  *)
4913
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914
 
for as_dir in $PATH
4915
 
do
4916
 
  IFS=$as_save_IFS
4917
 
  test -z "$as_dir" && as_dir=.
4918
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4919
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4920
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4921
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922
 
    break 2
4923
 
  fi
4924
 
done
4925
 
done
4926
 
 
4927
 
  ;;
4928
 
esac
4929
 
fi
4930
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4931
 
 
4932
 
if test -n "$PKG_CONFIG"; then
4933
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4934
 
echo "${ECHO_T}$PKG_CONFIG" >&6
4935
 
else
4936
 
  echo "$as_me:$LINENO: result: no" >&5
4937
 
echo "${ECHO_T}no" >&6
4938
 
fi
4939
 
 
4940
 
fi
4941
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
4942
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4943
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
4944
 
set dummy pkg-config; ac_word=$2
4945
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4946
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4947
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4948
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4949
 
else
4950
 
  case $ac_pt_PKG_CONFIG in
4951
 
  [\\/]* | ?:[\\/]*)
4952
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4953
 
  ;;
4954
 
  *)
4955
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956
 
for as_dir in $PATH
4957
 
do
4958
 
  IFS=$as_save_IFS
4959
 
  test -z "$as_dir" && as_dir=.
4960
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4961
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4962
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4963
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4964
 
    break 2
4965
 
  fi
4966
 
done
4967
 
done
4968
 
 
4969
 
  ;;
4970
 
esac
4971
 
fi
4972
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4973
 
 
4974
 
if test -n "$ac_pt_PKG_CONFIG"; then
4975
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4976
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
4977
 
else
4978
 
  echo "$as_me:$LINENO: result: no" >&5
4979
 
echo "${ECHO_T}no" >&6
4980
 
fi
4981
 
 
4982
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
4983
 
else
4984
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4985
 
fi
4986
 
 
4987
 
fi
4988
 
if test -n "$PKG_CONFIG"; then
4989
 
        _pkg_min_version=0.9.0
4990
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4991
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
4992
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4993
 
                echo "$as_me:$LINENO: result: yes" >&5
4994
 
echo "${ECHO_T}yes" >&6
4995
 
        else
4996
 
                echo "$as_me:$LINENO: result: no" >&5
4997
 
echo "${ECHO_T}no" >&6
4998
 
                PKG_CONFIG=""
4999
 
        fi
5000
 
 
5001
 
fi
5002
 
 
5003
 
pkg_failed=no
5004
 
echo "$as_me:$LINENO: checking for PACKAGE" >&5
5005
 
echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6
5006
 
 
5007
 
if test -n "$PKG_CONFIG"; then
5008
 
    if test -n "$PACKAGE_CFLAGS"; then
5009
 
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
5010
 
    else
5011
 
        if test -n "$PKG_CONFIG" && \
5012
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5013
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5014
 
  ac_status=$?
5015
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016
 
  (exit $ac_status); }; then
5017
 
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
5018
 
else
5019
 
  pkg_failed=yes
5020
 
fi
5021
 
    fi
5022
 
else
5023
 
        pkg_failed=untried
5024
 
fi
5025
 
if test -n "$PKG_CONFIG"; then
5026
 
    if test -n "$PACKAGE_LIBS"; then
5027
 
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
5028
 
    else
5029
 
        if test -n "$PKG_CONFIG" && \
5030
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
5031
 
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
5032
 
  ac_status=$?
5033
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034
 
  (exit $ac_status); }; then
5035
 
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
5036
 
else
5037
 
  pkg_failed=yes
5038
 
fi
5039
 
    fi
5040
 
else
5041
 
        pkg_failed=untried
5042
 
fi
5043
 
 
5044
 
 
5045
 
 
5046
 
if test $pkg_failed = yes; then
5047
 
 
5048
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5049
 
        _pkg_short_errors_supported=yes
5050
 
else
5051
 
        _pkg_short_errors_supported=no
5052
 
fi
5053
 
        if test $_pkg_short_errors_supported = yes; then
5054
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
5055
 
        else
5056
 
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
5057
 
        fi
5058
 
        # Put the nasty error message in config.log where it belongs
5059
 
        echo "$PACKAGE_PKG_ERRORS" >&5
5060
 
 
5061
 
        { echo "$as_me:$LINENO: WARNING: GTK v2 libraries not found - will not build gtkv2 client" >&5
5062
 
echo "$as_me: WARNING: GTK v2 libraries not found - will not build gtkv2 client" >&2;}
5063
 
elif test $pkg_failed = untried; then
5064
 
        { echo "$as_me:$LINENO: WARNING: GTK v2 libraries not found - will not build gtkv2 client" >&5
5065
 
echo "$as_me: WARNING: GTK v2 libraries not found - will not build gtkv2 client" >&2;}
5066
 
else
5067
 
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
5068
 
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
5069
 
        echo "$as_me:$LINENO: result: yes" >&5
5070
 
echo "${ECHO_T}yes" >&6
5071
 
        CF_SUBDIRS="$CF_SUBDIRS gtk-v2"
5072
 
fi
5073
 
 
5074
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5075
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5076
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5077
 
if test "${enable_maintainer_mode+set}" = set; then
5078
 
  enableval="$enable_maintainer_mode"
5079
 
  USE_MAINTAINER_MODE=$enableval
5080
 
else
5081
 
  USE_MAINTAINER_MODE=no
5082
 
fi;
5083
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5084
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5085
 
 
5086
 
 
5087
 
if test $USE_MAINTAINER_MODE = yes; then
5088
 
  MAINTAINER_MODE_TRUE=
5089
 
  MAINTAINER_MODE_FALSE='#'
5090
 
else
5091
 
  MAINTAINER_MODE_TRUE='#'
5092
 
  MAINTAINER_MODE_FALSE=
5093
 
fi
5094
 
 
5095
 
  MAINT=$MAINTAINER_MODE_TRUE
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
echo "$as_me:$LINENO: checking for main in -lglut" >&5
5102
 
echo $ECHO_N "checking for main in -lglut... $ECHO_C" >&6
5103
 
if test "${ac_cv_lib_glut_main+set}" = set; then
5104
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5105
 
else
5106
 
  ac_check_lib_save_LIBS=$LIBS
5107
 
LIBS="-lglut  $LIBS"
5108
 
cat >conftest.$ac_ext <<_ACEOF
5109
 
/* confdefs.h.  */
5110
 
_ACEOF
5111
 
cat confdefs.h >>conftest.$ac_ext
5112
 
cat >>conftest.$ac_ext <<_ACEOF
5113
 
/* end confdefs.h.  */
5114
 
 
5115
 
 
5116
 
int
5117
 
main ()
5118
 
{
5119
 
main ();
5120
 
  ;
5121
 
  return 0;
5122
 
}
5123
 
_ACEOF
5124
 
rm -f conftest.$ac_objext conftest$ac_exeext
5125
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5126
 
  (eval $ac_link) 2>conftest.er1
5127
 
  ac_status=$?
5128
 
  grep -v '^ *+' conftest.er1 >conftest.err
5129
 
  rm -f conftest.er1
5130
 
  cat conftest.err >&5
5131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132
 
  (exit $ac_status); } &&
5133
 
         { ac_try='test -z "$ac_c_werror_flag"
5134
 
                         || test ! -s conftest.err'
5135
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136
 
  (eval $ac_try) 2>&5
5137
 
  ac_status=$?
5138
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139
 
  (exit $ac_status); }; } &&
5140
 
         { ac_try='test -s conftest$ac_exeext'
5141
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142
 
  (eval $ac_try) 2>&5
5143
 
  ac_status=$?
5144
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145
 
  (exit $ac_status); }; }; then
5146
 
  ac_cv_lib_glut_main=yes
5147
 
else
5148
 
  echo "$as_me: failed program was:" >&5
5149
 
sed 's/^/| /' conftest.$ac_ext >&5
5150
 
 
5151
 
ac_cv_lib_glut_main=no
5152
 
fi
5153
 
rm -f conftest.err conftest.$ac_objext \
5154
 
      conftest$ac_exeext conftest.$ac_ext
5155
 
LIBS=$ac_check_lib_save_LIBS
5156
 
fi
5157
 
echo "$as_me:$LINENO: result: $ac_cv_lib_glut_main" >&5
5158
 
echo "${ECHO_T}$ac_cv_lib_glut_main" >&6
5159
 
if test $ac_cv_lib_glut_main = yes; then
5160
 
  OPENGL_LIBS="-lglut"
5161
 
fi
5162
 
 
5163
 
 
5164
 
if eval "test x$OPENGL_LIBS != x"; then
5165
 
    cat >>confdefs.h <<\_ACEOF
5166
 
#define HAVE_OPENGL 1
5167
 
_ACEOF
5168
 
 
5169
 
fi
5170
 
 
5171
 
 
5172
 
 
5173
4976
SOUNDDIR="${datadir}/crossfire-client/sounds"
5174
4977
 
5175
4978
# Check whether --enable-debug or --disable-debug was given.
5238
5041
fi;
5239
5042
 
5240
5043
 
5241
 
# Check whether --enable-gtk or --disable-gtk was given.
5242
 
if test "${enable_gtk+set}" = set; then
5243
 
  enableval="$enable_gtk"
5244
 
  gtk=$enableval
5245
 
else
5246
 
  gtk=yes
 
5044
 
 
5045
# Check whether --with-loglevel or --without-loglevel was given.
 
5046
if test "${with_loglevel+set}" = set; then
 
5047
  withval="$with_loglevel"
 
5048
  MINLOGLEVEL="$withval"
 
5049
else
 
5050
  MINLOGLEVEL=0
 
5051
fi;
 
5052
 
 
5053
 
 
5054
# Check whether --enable-gtkv1 or --disable-gtkv1 was given.
 
5055
if test "${enable_gtkv1+set}" = set; then
 
5056
  enableval="$enable_gtkv1"
 
5057
  gtkv1=$enableval
 
5058
else
 
5059
  gtkv1=yes
 
5060
fi;
 
5061
 
 
5062
# Check whether --enable-gtkv2 or --disable-gtkv2 was given.
 
5063
if test "${enable_gtkv2+set}" = set; then
 
5064
  enableval="$enable_gtkv2"
 
5065
  gtkv2=$enableval
 
5066
else
 
5067
  gtkv2=yes
 
5068
fi;
 
5069
 
 
5070
# Check whether --enable-cfgtk2 or --disable-cfgtk2 was given.
 
5071
if test "${enable_cfgtk2+set}" = set; then
 
5072
  enableval="$enable_cfgtk2"
 
5073
  cfgtk2=$enableval
 
5074
else
 
5075
  cfgtk2=no
5247
5076
fi;
5248
5077
 
5249
5078
# Check whether --enable-sdl or --disable-sdl was given.
6353
6182
  *-*-solaris2*)
6354
6183
        need_r_flag="yes"
6355
6184
        ;;
6356
 
  *)
6357
 
    ;;
6358
 
esac
6359
 
 
6360
 
 
6361
 
# Find a good install program.  We prefer a C program (faster),
6362
 
# so one script is as good as another.  But avoid the broken or
6363
 
# incompatible versions:
6364
 
# SysV /etc/install, /usr/sbin/install
6365
 
# SunOS /usr/etc/install
6366
 
# IRIX /sbin/install
6367
 
# AIX /bin/install
6368
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
6369
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6370
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6371
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6372
 
# OS/2's system install, which has a completely different semantic
6373
 
# ./install, which can be erroneously created by make from ./install.sh.
6374
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6375
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6376
 
if test -z "$INSTALL"; then
6377
 
if test "${ac_cv_path_install+set}" = set; then
6378
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6379
 
else
6380
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381
 
for as_dir in $PATH
6382
 
do
6383
 
  IFS=$as_save_IFS
6384
 
  test -z "$as_dir" && as_dir=.
6385
 
  # Account for people who put trailing slashes in PATH elements.
6386
 
case $as_dir/ in
6387
 
  ./ | .// | /cC/* | \
6388
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6389
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6390
 
  /usr/ucb/* ) ;;
6391
 
  *)
6392
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
6393
 
    # Don't use installbsd from OSF since it installs stuff as root
6394
 
    # by default.
6395
 
    for ac_prog in ginstall scoinst install; do
6396
 
      for ac_exec_ext in '' $ac_executable_extensions; do
6397
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6398
 
          if test $ac_prog = install &&
6399
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6400
 
            # AIX install.  It has an incompatible calling convention.
6401
 
            :
6402
 
          elif test $ac_prog = install &&
6403
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6404
 
            # program-specific install script used by HP pwplus--don't use.
6405
 
            :
6406
 
          else
6407
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6408
 
            break 3
6409
 
          fi
 
6185
  *-*-mingw32*)
 
6186
    win32="yes"
 
6187
    # -mms-bitfields is needed for GTK+ in windows.  It is set automatically
 
6188
    # by pkg-config, but it's also needed in common, so we explicitely set it
 
6189
    CFLAGS="$CFLAGS -mms-bitfields"
 
6190
    WIN32_LIBS="-lwsock32 -lwinmm"
 
6191
 
 
6192
    ;;
 
6193
  *)
 
6194
    ;;
 
6195
esac
 
6196
 
 
6197
 
 
6198
if eval "test x$no_x = xyes" ; then
 
6199
    { echo "$as_me:$LINENO: WARNING: X11 not found - will not build X client" >&5
 
6200
echo "$as_me: WARNING: X11 not found - will not build X client" >&2;}
 
6201
    X_LIBS=""
 
6202
else
 
6203
    { echo "$as_me:$LINENO: X11 found - will build X client" >&5
 
6204
echo "$as_me: X11 found - will build X client" >&6;}
 
6205
    X_LIBS="$X_LIBS -lX11"
 
6206
    CF_SUBDIRS="$CF_SUBDIRS x11"
 
6207
    echo Xlibs: $X_LIBS
 
6208
    echo Extras: $X_EXTRA_LIBS
 
6209
    echo Xpre: $X_PRE_LIBS
 
6210
fi
 
6211
 
 
6212
if eval "test x$gtkv1 = xyes" ; then
 
6213
if eval "test x$cfgtk2 = xyes" ; then
 
6214
 
 
6215
 
 
6216
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
6217
        if test -n "$ac_tool_prefix"; then
 
6218
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
6219
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
6220
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6221
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6222
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
6223
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6224
else
 
6225
  case $PKG_CONFIG in
 
6226
  [\\/]* | ?:[\\/]*)
 
6227
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
6228
  ;;
 
6229
  *)
 
6230
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6231
for as_dir in $PATH
 
6232
do
 
6233
  IFS=$as_save_IFS
 
6234
  test -z "$as_dir" && as_dir=.
 
6235
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6236
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6237
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
6238
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6239
    break 2
 
6240
  fi
 
6241
done
 
6242
done
 
6243
 
 
6244
  ;;
 
6245
esac
 
6246
fi
 
6247
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
6248
 
 
6249
if test -n "$PKG_CONFIG"; then
 
6250
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
6251
echo "${ECHO_T}$PKG_CONFIG" >&6
 
6252
else
 
6253
  echo "$as_me:$LINENO: result: no" >&5
 
6254
echo "${ECHO_T}no" >&6
 
6255
fi
 
6256
 
 
6257
fi
 
6258
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
6259
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
6260
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
6261
set dummy pkg-config; ac_word=$2
 
6262
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6263
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6264
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
6265
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6266
else
 
6267
  case $ac_pt_PKG_CONFIG in
 
6268
  [\\/]* | ?:[\\/]*)
 
6269
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
6270
  ;;
 
6271
  *)
 
6272
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6273
for as_dir in $PATH
 
6274
do
 
6275
  IFS=$as_save_IFS
 
6276
  test -z "$as_dir" && as_dir=.
 
6277
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6278
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6279
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
6280
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6281
    break 2
 
6282
  fi
 
6283
done
 
6284
done
 
6285
 
 
6286
  ;;
 
6287
esac
 
6288
fi
 
6289
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
6290
 
 
6291
if test -n "$ac_pt_PKG_CONFIG"; then
 
6292
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
6293
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
6294
else
 
6295
  echo "$as_me:$LINENO: result: no" >&5
 
6296
echo "${ECHO_T}no" >&6
 
6297
fi
 
6298
 
 
6299
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
6300
else
 
6301
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
6302
fi
 
6303
 
 
6304
fi
 
6305
if test -n "$PKG_CONFIG"; then
 
6306
        _pkg_min_version=0.9.0
 
6307
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
6308
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
6309
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
6310
                echo "$as_me:$LINENO: result: yes" >&5
 
6311
echo "${ECHO_T}yes" >&6
 
6312
        else
 
6313
                echo "$as_me:$LINENO: result: no" >&5
 
6314
echo "${ECHO_T}no" >&6
 
6315
                PKG_CONFIG=""
6410
6316
        fi
6411
 
      done
6412
 
    done
6413
 
    ;;
6414
 
esac
6415
 
done
6416
 
 
6417
 
 
6418
 
fi
6419
 
  if test "${ac_cv_path_install+set}" = set; then
6420
 
    INSTALL=$ac_cv_path_install
6421
 
  else
6422
 
    # As a last resort, use the slow shell script.  We don't cache a
6423
 
    # path for INSTALL within a source directory, because that will
6424
 
    # break other packages using the cache if that directory is
6425
 
    # removed, or if the path is relative.
6426
 
    INSTALL=$ac_install_sh
6427
 
  fi
6428
 
fi
6429
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
6430
 
echo "${ECHO_T}$INSTALL" >&6
6431
 
 
6432
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6433
 
# It thinks the first close brace ends the variable substitution.
6434
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6435
 
 
6436
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6437
 
 
6438
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6439
 
 
6440
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
6441
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6442
 
LN_S=$as_ln_s
6443
 
if test "$LN_S" = "ln -s"; then
6444
 
  echo "$as_me:$LINENO: result: yes" >&5
6445
 
echo "${ECHO_T}yes" >&6
6446
 
else
6447
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6448
 
echo "${ECHO_T}no, using $LN_S" >&6
6449
 
fi
6450
 
 
6451
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6452
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6453
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6454
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6455
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6456
 
else
6457
 
  cat >conftest.make <<\_ACEOF
6458
 
all:
6459
 
        @echo 'ac_maketemp="$(MAKE)"'
6460
 
_ACEOF
6461
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6462
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6463
 
if test -n "$ac_maketemp"; then
6464
 
  eval ac_cv_prog_make_${ac_make}_set=yes
6465
 
else
6466
 
  eval ac_cv_prog_make_${ac_make}_set=no
6467
 
fi
6468
 
rm -f conftest.make
6469
 
fi
6470
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6471
 
  echo "$as_me:$LINENO: result: yes" >&5
6472
 
echo "${ECHO_T}yes" >&6
6473
 
  SET_MAKE=
6474
 
else
6475
 
  echo "$as_me:$LINENO: result: no" >&5
6476
 
echo "${ECHO_T}no" >&6
6477
 
  SET_MAKE="MAKE=${MAKE-make}"
6478
 
fi
6479
 
 
6480
 
ac_ext=c
6481
 
ac_cpp='$CPP $CPPFLAGS'
6482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6485
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6486
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6487
 
# On Suns, sometimes $CPP names a directory.
6488
 
if test -n "$CPP" && test -d "$CPP"; then
6489
 
  CPP=
6490
 
fi
6491
 
if test -z "$CPP"; then
6492
 
  if test "${ac_cv_prog_CPP+set}" = set; then
6493
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6494
 
else
6495
 
      # Double quotes because CPP needs to be expanded
6496
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6497
 
    do
6498
 
      ac_preproc_ok=false
6499
 
for ac_c_preproc_warn_flag in '' yes
6500
 
do
6501
 
  # Use a header file that comes with gcc, so configuring glibc
6502
 
  # with a fresh cross-compiler works.
6503
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6504
 
  # <limits.h> exists even on freestanding compilers.
6505
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6506
 
  # not just through cpp. "Syntax error" is here to catch this case.
6507
 
  cat >conftest.$ac_ext <<_ACEOF
6508
 
/* confdefs.h.  */
6509
 
_ACEOF
6510
 
cat confdefs.h >>conftest.$ac_ext
6511
 
cat >>conftest.$ac_ext <<_ACEOF
6512
 
/* end confdefs.h.  */
6513
 
#ifdef __STDC__
6514
 
# include <limits.h>
6515
 
#else
6516
 
# include <assert.h>
6517
 
#endif
6518
 
                     Syntax error
6519
 
_ACEOF
6520
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6521
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6522
 
  ac_status=$?
6523
 
  grep -v '^ *+' conftest.er1 >conftest.err
6524
 
  rm -f conftest.er1
6525
 
  cat conftest.err >&5
6526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527
 
  (exit $ac_status); } >/dev/null; then
6528
 
  if test -s conftest.err; then
6529
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6530
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6531
 
  else
6532
 
    ac_cpp_err=
6533
 
  fi
6534
 
else
6535
 
  ac_cpp_err=yes
6536
 
fi
6537
 
if test -z "$ac_cpp_err"; then
6538
 
  :
6539
 
else
6540
 
  echo "$as_me: failed program was:" >&5
6541
 
sed 's/^/| /' conftest.$ac_ext >&5
6542
 
 
6543
 
  # Broken: fails on valid input.
6544
 
continue
6545
 
fi
6546
 
rm -f conftest.err conftest.$ac_ext
6547
 
 
6548
 
  # OK, works on sane cases.  Now check whether non-existent headers
6549
 
  # can be detected and how.
6550
 
  cat >conftest.$ac_ext <<_ACEOF
6551
 
/* confdefs.h.  */
6552
 
_ACEOF
6553
 
cat confdefs.h >>conftest.$ac_ext
6554
 
cat >>conftest.$ac_ext <<_ACEOF
6555
 
/* end confdefs.h.  */
6556
 
#include <ac_nonexistent.h>
6557
 
_ACEOF
6558
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6559
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6560
 
  ac_status=$?
6561
 
  grep -v '^ *+' conftest.er1 >conftest.err
6562
 
  rm -f conftest.er1
6563
 
  cat conftest.err >&5
6564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565
 
  (exit $ac_status); } >/dev/null; then
6566
 
  if test -s conftest.err; then
6567
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6568
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6569
 
  else
6570
 
    ac_cpp_err=
6571
 
  fi
6572
 
else
6573
 
  ac_cpp_err=yes
6574
 
fi
6575
 
if test -z "$ac_cpp_err"; then
6576
 
  # Broken: success on invalid input.
6577
 
continue
6578
 
else
6579
 
  echo "$as_me: failed program was:" >&5
6580
 
sed 's/^/| /' conftest.$ac_ext >&5
6581
 
 
6582
 
  # Passes both tests.
6583
 
ac_preproc_ok=:
6584
 
break
6585
 
fi
6586
 
rm -f conftest.err conftest.$ac_ext
6587
 
 
6588
 
done
6589
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590
 
rm -f conftest.err conftest.$ac_ext
6591
 
if $ac_preproc_ok; then
6592
 
  break
6593
 
fi
6594
 
 
6595
 
    done
6596
 
    ac_cv_prog_CPP=$CPP
6597
 
 
6598
 
fi
6599
 
  CPP=$ac_cv_prog_CPP
6600
 
else
6601
 
  ac_cv_prog_CPP=$CPP
6602
 
fi
6603
 
echo "$as_me:$LINENO: result: $CPP" >&5
6604
 
echo "${ECHO_T}$CPP" >&6
6605
 
ac_preproc_ok=false
6606
 
for ac_c_preproc_warn_flag in '' yes
6607
 
do
6608
 
  # Use a header file that comes with gcc, so configuring glibc
6609
 
  # with a fresh cross-compiler works.
6610
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611
 
  # <limits.h> exists even on freestanding compilers.
6612
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6613
 
  # not just through cpp. "Syntax error" is here to catch this case.
6614
 
  cat >conftest.$ac_ext <<_ACEOF
6615
 
/* confdefs.h.  */
6616
 
_ACEOF
6617
 
cat confdefs.h >>conftest.$ac_ext
6618
 
cat >>conftest.$ac_ext <<_ACEOF
6619
 
/* end confdefs.h.  */
6620
 
#ifdef __STDC__
6621
 
# include <limits.h>
6622
 
#else
6623
 
# include <assert.h>
6624
 
#endif
6625
 
                     Syntax error
6626
 
_ACEOF
6627
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6628
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6629
 
  ac_status=$?
6630
 
  grep -v '^ *+' conftest.er1 >conftest.err
6631
 
  rm -f conftest.er1
6632
 
  cat conftest.err >&5
6633
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634
 
  (exit $ac_status); } >/dev/null; then
6635
 
  if test -s conftest.err; then
6636
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6637
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6638
 
  else
6639
 
    ac_cpp_err=
6640
 
  fi
6641
 
else
6642
 
  ac_cpp_err=yes
6643
 
fi
6644
 
if test -z "$ac_cpp_err"; then
6645
 
  :
6646
 
else
6647
 
  echo "$as_me: failed program was:" >&5
6648
 
sed 's/^/| /' conftest.$ac_ext >&5
6649
 
 
6650
 
  # Broken: fails on valid input.
6651
 
continue
6652
 
fi
6653
 
rm -f conftest.err conftest.$ac_ext
6654
 
 
6655
 
  # OK, works on sane cases.  Now check whether non-existent headers
6656
 
  # can be detected and how.
6657
 
  cat >conftest.$ac_ext <<_ACEOF
6658
 
/* confdefs.h.  */
6659
 
_ACEOF
6660
 
cat confdefs.h >>conftest.$ac_ext
6661
 
cat >>conftest.$ac_ext <<_ACEOF
6662
 
/* end confdefs.h.  */
6663
 
#include <ac_nonexistent.h>
6664
 
_ACEOF
6665
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6666
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6667
 
  ac_status=$?
6668
 
  grep -v '^ *+' conftest.er1 >conftest.err
6669
 
  rm -f conftest.er1
6670
 
  cat conftest.err >&5
6671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672
 
  (exit $ac_status); } >/dev/null; then
6673
 
  if test -s conftest.err; then
6674
 
    ac_cpp_err=$ac_c_preproc_warn_flag
6675
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6676
 
  else
6677
 
    ac_cpp_err=
6678
 
  fi
6679
 
else
6680
 
  ac_cpp_err=yes
6681
 
fi
6682
 
if test -z "$ac_cpp_err"; then
6683
 
  # Broken: success on invalid input.
6684
 
continue
6685
 
else
6686
 
  echo "$as_me: failed program was:" >&5
6687
 
sed 's/^/| /' conftest.$ac_ext >&5
6688
 
 
6689
 
  # Passes both tests.
6690
 
ac_preproc_ok=:
6691
 
break
6692
 
fi
6693
 
rm -f conftest.err conftest.$ac_ext
6694
 
 
6695
 
done
6696
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697
 
rm -f conftest.err conftest.$ac_ext
6698
 
if $ac_preproc_ok; then
6699
 
  :
6700
 
else
6701
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6702
 
See \`config.log' for more details." >&5
6703
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6704
 
See \`config.log' for more details." >&2;}
6705
 
   { (exit 1); exit 1; }; }
6706
 
fi
6707
 
 
6708
 
ac_ext=c
6709
 
ac_cpp='$CPP $CPPFLAGS'
6710
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6711
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6712
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6713
 
 
6714
 
if test -n "$ac_tool_prefix"; then
6715
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6716
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6717
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6718
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6719
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6720
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6721
 
else
6722
 
  if test -n "$RANLIB"; then
6723
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6724
 
else
6725
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6726
 
for as_dir in $PATH
6727
 
do
6728
 
  IFS=$as_save_IFS
6729
 
  test -z "$as_dir" && as_dir=.
6730
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6731
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6732
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6733
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6734
 
    break 2
6735
 
  fi
6736
 
done
6737
 
done
6738
 
 
6739
 
fi
6740
 
fi
6741
 
RANLIB=$ac_cv_prog_RANLIB
6742
 
if test -n "$RANLIB"; then
6743
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6744
 
echo "${ECHO_T}$RANLIB" >&6
6745
 
else
6746
 
  echo "$as_me:$LINENO: result: no" >&5
6747
 
echo "${ECHO_T}no" >&6
6748
 
fi
6749
 
 
6750
 
fi
6751
 
if test -z "$ac_cv_prog_RANLIB"; then
6752
 
  ac_ct_RANLIB=$RANLIB
6753
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6754
 
set dummy ranlib; ac_word=$2
6755
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6756
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6757
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6758
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6759
 
else
6760
 
  if test -n "$ac_ct_RANLIB"; then
6761
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6762
 
else
6763
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764
 
for as_dir in $PATH
6765
 
do
6766
 
  IFS=$as_save_IFS
6767
 
  test -z "$as_dir" && as_dir=.
6768
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6769
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6771
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6772
 
    break 2
6773
 
  fi
6774
 
done
6775
 
done
6776
 
 
6777
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6778
 
fi
6779
 
fi
6780
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6781
 
if test -n "$ac_ct_RANLIB"; then
6782
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6783
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
6784
 
else
6785
 
  echo "$as_me:$LINENO: result: no" >&5
6786
 
echo "${ECHO_T}no" >&6
6787
 
fi
6788
 
 
6789
 
  RANLIB=$ac_ct_RANLIB
6790
 
else
6791
 
  RANLIB="$ac_cv_prog_RANLIB"
6792
 
fi
6793
 
 
6794
 
 
6795
 
 
6796
 
 
6797
 
if eval "test x$gtk = xyes"; then
 
6317
 
 
6318
fi
 
6319
 
 
6320
pkg_failed=no
 
6321
echo "$as_me:$LINENO: checking for GTK2" >&5
 
6322
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6
 
6323
 
 
6324
if test -n "$PKG_CONFIG"; then
 
6325
    if test -n "$GTK2_CFLAGS"; then
 
6326
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
6327
    else
 
6328
        if test -n "$PKG_CONFIG" && \
 
6329
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
6330
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
6331
  ac_status=$?
 
6332
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6333
  (exit $ac_status); }; then
 
6334
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
6335
else
 
6336
  pkg_failed=yes
 
6337
fi
 
6338
    fi
 
6339
else
 
6340
        pkg_failed=untried
 
6341
fi
 
6342
if test -n "$PKG_CONFIG"; then
 
6343
    if test -n "$GTK2_LIBS"; then
 
6344
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
6345
    else
 
6346
        if test -n "$PKG_CONFIG" && \
 
6347
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
6348
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
6349
  ac_status=$?
 
6350
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6351
  (exit $ac_status); }; then
 
6352
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
6353
else
 
6354
  pkg_failed=yes
 
6355
fi
 
6356
    fi
 
6357
else
 
6358
        pkg_failed=untried
 
6359
fi
 
6360
 
 
6361
 
 
6362
 
 
6363
if test $pkg_failed = yes; then
 
6364
 
 
6365
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6366
        _pkg_short_errors_supported=yes
 
6367
else
 
6368
        _pkg_short_errors_supported=no
 
6369
fi
 
6370
        if test $_pkg_short_errors_supported = yes; then
 
6371
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
6372
        else
 
6373
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
6374
        fi
 
6375
        # Put the nasty error message in config.log where it belongs
 
6376
        echo "$GTK2_PKG_ERRORS" >&5
 
6377
 
 
6378
        HAVE_GTK2=no
 
6379
elif test $pkg_failed = untried; then
 
6380
        HAVE_GTK2=no
 
6381
else
 
6382
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
6383
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
6384
        echo "$as_me:$LINENO: result: yes" >&5
 
6385
echo "${ECHO_T}yes" >&6
 
6386
        HAVE_GTK2=yes
 
6387
fi
 
6388
        if eval "test x$HAVE_GTK2 = xyes" ; then
 
6389
        GTK_CFLAGS="`$PKG_CONFIG --cflags gtk+-2.0` -DCFGTK2 -DGTK_ENABLE_BROKEN -DGTK_WINDOW_DIALOG=GTK_WINDOW_TOPLEVEL"
 
6390
        GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
 
6391
        CF_SUBDIRS="$CF_SUBDIRS gtk"
 
6392
        CFGTK="no"
 
6393
            { echo "$as_me:$LINENO: GTK+ 2 found - building original gtk-v1 client with GTK+ 2.0.0" >&5
 
6394
echo "$as_me: GTK+ 2 found - building original gtk-v1 client with GTK+ 2.0.0" >&6;}
 
6395
else
 
6396
            { echo "$as_me:$LINENO: WARNING: GTK2 not found and --enable-cfgtk2 is set - cannot original gtk-v1 client" >&5
 
6397
echo "$as_me: WARNING: GTK2 not found and --enable-cfgtk2 is set - cannot original gtk-v1 client" >&2;}
 
6398
fi
 
6399
    else
6798
6400
 
6799
6401
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6800
6402
if test "${with_gtk_prefix+set}" = set; then
7109
6711
 
7110
6712
  rm -f conf.gtktest
7111
6713
 
7112
 
fi
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
6714
if eval "test x$CFGTK = xyes"; then
7118
 
        echo "$as_me:$LINENO: result: GTK found - building both gtk and x11 client" >&5
7119
 
echo "${ECHO_T}GTK found - building both gtk and x11 client" >&6
 
6715
            { echo "$as_me:$LINENO: GTK 1 found - building gtk client" >&5
 
6716
echo "$as_me: GTK 1 found - building gtk client" >&6;}
7120
6717
        GTK_LIBS=$GTK_LIBS
7121
6718
        GTK_CFLAGS="$GTK_CFLAGS"
7122
6719
 
7123
6720
 
7124
6721
        CF_SUBDIRS="$CF_SUBDIRS gtk"
7125
6722
        else
7126
 
        echo "$as_me:$LINENO: result: GTK not found - building xlib client" >&5
7127
 
echo "${ECHO_T}GTK not found - building xlib client" >&6
7128
 
fi
7129
 
 
7130
 
X_LIBS="$X_LIBS -lX11"
7131
 
 
7132
 
 
7133
 
echo Xlibs: $X_LIBS
7134
 
echo Extras: $X_EXTRA_LIBS
7135
 
echo Xpre: $X_PRE_LIBS
 
6723
            { echo "$as_me:$LINENO: WARNING: GTK 1 not found - not building building gtk-v1 client" >&5
 
6724
echo "$as_me: WARNING: GTK 1 not found - not building building gtk-v1 client" >&2;}
 
6725
        fi
 
6726
    fi
 
6727
else
 
6728
    { echo "$as_me:$LINENO: gtkv1 client build disabled" >&5
 
6729
echo "$as_me: gtkv1 client build disabled" >&6;}
 
6730
fi
 
6731
 
 
6732
 
 
6733
if eval "test x$gtkv2 = xyes" ; then
 
6734
 
 
6735
pkg_failed=no
 
6736
echo "$as_me:$LINENO: checking for GTK2" >&5
 
6737
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6
 
6738
 
 
6739
if test -n "$PKG_CONFIG"; then
 
6740
    if test -n "$GTK2_CFLAGS"; then
 
6741
        pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
 
6742
    else
 
6743
        if test -n "$PKG_CONFIG" && \
 
6744
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
6745
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
6746
  ac_status=$?
 
6747
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6748
  (exit $ac_status); }; then
 
6749
  pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
6750
else
 
6751
  pkg_failed=yes
 
6752
fi
 
6753
    fi
 
6754
else
 
6755
        pkg_failed=untried
 
6756
fi
 
6757
if test -n "$PKG_CONFIG"; then
 
6758
    if test -n "$GTK2_LIBS"; then
 
6759
        pkg_cv_GTK2_LIBS="$GTK2_LIBS"
 
6760
    else
 
6761
        if test -n "$PKG_CONFIG" && \
 
6762
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.0.0\"") >&5
 
6763
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.0.0") 2>&5
 
6764
  ac_status=$?
 
6765
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6766
  (exit $ac_status); }; then
 
6767
  pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.0.0" 2>/dev/null`
 
6768
else
 
6769
  pkg_failed=yes
 
6770
fi
 
6771
    fi
 
6772
else
 
6773
        pkg_failed=untried
 
6774
fi
 
6775
 
 
6776
 
 
6777
 
 
6778
if test $pkg_failed = yes; then
 
6779
 
 
6780
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6781
        _pkg_short_errors_supported=yes
 
6782
else
 
6783
        _pkg_short_errors_supported=no
 
6784
fi
 
6785
        if test $_pkg_short_errors_supported = yes; then
 
6786
                GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
6787
        else
 
6788
                GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.0.0"`
 
6789
        fi
 
6790
        # Put the nasty error message in config.log where it belongs
 
6791
        echo "$GTK2_PKG_ERRORS" >&5
 
6792
 
 
6793
        gtkv2="no"
 
6794
elif test $pkg_failed = untried; then
 
6795
        gtkv2="no"
 
6796
else
 
6797
        GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
 
6798
        GTK2_LIBS=$pkg_cv_GTK2_LIBS
 
6799
        echo "$as_me:$LINENO: result: yes" >&5
 
6800
echo "${ECHO_T}yes" >&6
 
6801
        CF_SUBDIRS="$CF_SUBDIRS gtk-v2"
 
6802
fi
 
6803
        if eval "test x$gtkv2 = xyes" ; then
 
6804
      { echo "$as_me:$LINENO: GTK+ 2 found - will build gtk-v2 client" >&5
 
6805
echo "$as_me: GTK+ 2 found - will build gtk-v2 client" >&6;}
 
6806
    else
 
6807
      { echo "$as_me:$LINENO: WARNING: GTK+ 2 libraries not found - will not build gtk-v2 client" >&5
 
6808
echo "$as_me: WARNING: GTK+ 2 libraries not found - will not build gtk-v2 client" >&2;}
 
6809
fi
 
6810
else
 
6811
    { echo "$as_me:$LINENO: gtkv2 client disabled" >&5
 
6812
echo "$as_me: gtkv2 client disabled" >&6;}
 
6813
fi
 
6814
 
 
6815
 
 
6816
 
 
6817
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
6818
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
 
6819
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
6820
if test "${enable_maintainer_mode+set}" = set; then
 
6821
  enableval="$enable_maintainer_mode"
 
6822
  USE_MAINTAINER_MODE=$enableval
 
6823
else
 
6824
  USE_MAINTAINER_MODE=no
 
6825
fi;
 
6826
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
6827
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
 
6828
 
 
6829
 
 
6830
if test $USE_MAINTAINER_MODE = yes; then
 
6831
  MAINTAINER_MODE_TRUE=
 
6832
  MAINTAINER_MODE_FALSE='#'
 
6833
else
 
6834
  MAINTAINER_MODE_TRUE='#'
 
6835
  MAINTAINER_MODE_FALSE=
 
6836
fi
 
6837
 
 
6838
  MAINT=$MAINTAINER_MODE_TRUE
 
6839
 
 
6840
 
 
6841
 
 
6842
 
 
6843
 
 
6844
 
 
6845
echo "$as_me:$LINENO: checking for main in -lGL" >&5
 
6846
echo $ECHO_N "checking for main in -lGL... $ECHO_C" >&6
 
6847
if test "${ac_cv_lib_GL_main+set}" = set; then
 
6848
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6849
else
 
6850
  ac_check_lib_save_LIBS=$LIBS
 
6851
LIBS="-lGL  $LIBS"
 
6852
cat >conftest.$ac_ext <<_ACEOF
 
6853
/* confdefs.h.  */
 
6854
_ACEOF
 
6855
cat confdefs.h >>conftest.$ac_ext
 
6856
cat >>conftest.$ac_ext <<_ACEOF
 
6857
/* end confdefs.h.  */
 
6858
 
 
6859
 
 
6860
int
 
6861
main ()
 
6862
{
 
6863
main ();
 
6864
  ;
 
6865
  return 0;
 
6866
}
 
6867
_ACEOF
 
6868
rm -f conftest.$ac_objext conftest$ac_exeext
 
6869
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6870
  (eval $ac_link) 2>conftest.er1
 
6871
  ac_status=$?
 
6872
  grep -v '^ *+' conftest.er1 >conftest.err
 
6873
  rm -f conftest.er1
 
6874
  cat conftest.err >&5
 
6875
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6876
  (exit $ac_status); } &&
 
6877
         { ac_try='test -z "$ac_c_werror_flag"
 
6878
                         || test ! -s conftest.err'
 
6879
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6880
  (eval $ac_try) 2>&5
 
6881
  ac_status=$?
 
6882
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6883
  (exit $ac_status); }; } &&
 
6884
         { ac_try='test -s conftest$ac_exeext'
 
6885
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6886
  (eval $ac_try) 2>&5
 
6887
  ac_status=$?
 
6888
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6889
  (exit $ac_status); }; }; then
 
6890
  ac_cv_lib_GL_main=yes
 
6891
else
 
6892
  echo "$as_me: failed program was:" >&5
 
6893
sed 's/^/| /' conftest.$ac_ext >&5
 
6894
 
 
6895
ac_cv_lib_GL_main=no
 
6896
fi
 
6897
rm -f conftest.err conftest.$ac_objext \
 
6898
      conftest$ac_exeext conftest.$ac_ext
 
6899
LIBS=$ac_check_lib_save_LIBS
 
6900
fi
 
6901
echo "$as_me:$LINENO: result: $ac_cv_lib_GL_main" >&5
 
6902
echo "${ECHO_T}$ac_cv_lib_GL_main" >&6
 
6903
if test $ac_cv_lib_GL_main = yes; then
 
6904
  cat >>confdefs.h <<_ACEOF
 
6905
#define HAVE_LIBGL 1
 
6906
_ACEOF
 
6907
 
 
6908
  LIBS="-lGL $LIBS"
 
6909
 
 
6910
fi
 
6911
 
 
6912
 
 
6913
echo "$as_me:$LINENO: checking for main in -lGLU" >&5
 
6914
echo $ECHO_N "checking for main in -lGLU... $ECHO_C" >&6
 
6915
if test "${ac_cv_lib_GLU_main+set}" = set; then
 
6916
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6917
else
 
6918
  ac_check_lib_save_LIBS=$LIBS
 
6919
LIBS="-lGLU  $LIBS"
 
6920
cat >conftest.$ac_ext <<_ACEOF
 
6921
/* confdefs.h.  */
 
6922
_ACEOF
 
6923
cat confdefs.h >>conftest.$ac_ext
 
6924
cat >>conftest.$ac_ext <<_ACEOF
 
6925
/* end confdefs.h.  */
 
6926
 
 
6927
 
 
6928
int
 
6929
main ()
 
6930
{
 
6931
main ();
 
6932
  ;
 
6933
  return 0;
 
6934
}
 
6935
_ACEOF
 
6936
rm -f conftest.$ac_objext conftest$ac_exeext
 
6937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6938
  (eval $ac_link) 2>conftest.er1
 
6939
  ac_status=$?
 
6940
  grep -v '^ *+' conftest.er1 >conftest.err
 
6941
  rm -f conftest.er1
 
6942
  cat conftest.err >&5
 
6943
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6944
  (exit $ac_status); } &&
 
6945
         { ac_try='test -z "$ac_c_werror_flag"
 
6946
                         || test ! -s conftest.err'
 
6947
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6948
  (eval $ac_try) 2>&5
 
6949
  ac_status=$?
 
6950
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6951
  (exit $ac_status); }; } &&
 
6952
         { ac_try='test -s conftest$ac_exeext'
 
6953
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
6954
  (eval $ac_try) 2>&5
 
6955
  ac_status=$?
 
6956
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6957
  (exit $ac_status); }; }; then
 
6958
  ac_cv_lib_GLU_main=yes
 
6959
else
 
6960
  echo "$as_me: failed program was:" >&5
 
6961
sed 's/^/| /' conftest.$ac_ext >&5
 
6962
 
 
6963
ac_cv_lib_GLU_main=no
 
6964
fi
 
6965
rm -f conftest.err conftest.$ac_objext \
 
6966
      conftest$ac_exeext conftest.$ac_ext
 
6967
LIBS=$ac_check_lib_save_LIBS
 
6968
fi
 
6969
echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_main" >&5
 
6970
echo "${ECHO_T}$ac_cv_lib_GLU_main" >&6
 
6971
if test $ac_cv_lib_GLU_main = yes; then
 
6972
  cat >>confdefs.h <<_ACEOF
 
6973
#define HAVE_LIBGLU 1
 
6974
_ACEOF
 
6975
 
 
6976
  LIBS="-lGLU $LIBS"
 
6977
 
 
6978
fi
 
6979
 
 
6980
 
 
6981
echo "$as_me:$LINENO: checking for main in -lopengl32" >&5
 
6982
echo $ECHO_N "checking for main in -lopengl32... $ECHO_C" >&6
 
6983
if test "${ac_cv_lib_opengl32_main+set}" = set; then
 
6984
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6985
else
 
6986
  ac_check_lib_save_LIBS=$LIBS
 
6987
LIBS="-lopengl32  $LIBS"
 
6988
cat >conftest.$ac_ext <<_ACEOF
 
6989
/* confdefs.h.  */
 
6990
_ACEOF
 
6991
cat confdefs.h >>conftest.$ac_ext
 
6992
cat >>conftest.$ac_ext <<_ACEOF
 
6993
/* end confdefs.h.  */
 
6994
 
 
6995
 
 
6996
int
 
6997
main ()
 
6998
{
 
6999
main ();
 
7000
  ;
 
7001
  return 0;
 
7002
}
 
7003
_ACEOF
 
7004
rm -f conftest.$ac_objext conftest$ac_exeext
 
7005
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7006
  (eval $ac_link) 2>conftest.er1
 
7007
  ac_status=$?
 
7008
  grep -v '^ *+' conftest.er1 >conftest.err
 
7009
  rm -f conftest.er1
 
7010
  cat conftest.err >&5
 
7011
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7012
  (exit $ac_status); } &&
 
7013
         { ac_try='test -z "$ac_c_werror_flag"
 
7014
                         || test ! -s conftest.err'
 
7015
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7016
  (eval $ac_try) 2>&5
 
7017
  ac_status=$?
 
7018
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7019
  (exit $ac_status); }; } &&
 
7020
         { ac_try='test -s conftest$ac_exeext'
 
7021
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7022
  (eval $ac_try) 2>&5
 
7023
  ac_status=$?
 
7024
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7025
  (exit $ac_status); }; }; then
 
7026
  ac_cv_lib_opengl32_main=yes
 
7027
else
 
7028
  echo "$as_me: failed program was:" >&5
 
7029
sed 's/^/| /' conftest.$ac_ext >&5
 
7030
 
 
7031
ac_cv_lib_opengl32_main=no
 
7032
fi
 
7033
rm -f conftest.err conftest.$ac_objext \
 
7034
      conftest$ac_exeext conftest.$ac_ext
 
7035
LIBS=$ac_check_lib_save_LIBS
 
7036
fi
 
7037
echo "$as_me:$LINENO: result: $ac_cv_lib_opengl32_main" >&5
 
7038
echo "${ECHO_T}$ac_cv_lib_opengl32_main" >&6
 
7039
if test $ac_cv_lib_opengl32_main = yes; then
 
7040
  cat >>confdefs.h <<_ACEOF
 
7041
#define HAVE_LIBOPENGL32 1
 
7042
_ACEOF
 
7043
 
 
7044
  LIBS="-lopengl32 $LIBS"
 
7045
 
 
7046
fi
 
7047
 
 
7048
 
 
7049
echo "$as_me:$LINENO: checking for main in -lglu32" >&5
 
7050
echo $ECHO_N "checking for main in -lglu32... $ECHO_C" >&6
 
7051
if test "${ac_cv_lib_glu32_main+set}" = set; then
 
7052
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7053
else
 
7054
  ac_check_lib_save_LIBS=$LIBS
 
7055
LIBS="-lglu32  $LIBS"
 
7056
cat >conftest.$ac_ext <<_ACEOF
 
7057
/* confdefs.h.  */
 
7058
_ACEOF
 
7059
cat confdefs.h >>conftest.$ac_ext
 
7060
cat >>conftest.$ac_ext <<_ACEOF
 
7061
/* end confdefs.h.  */
 
7062
 
 
7063
 
 
7064
int
 
7065
main ()
 
7066
{
 
7067
main ();
 
7068
  ;
 
7069
  return 0;
 
7070
}
 
7071
_ACEOF
 
7072
rm -f conftest.$ac_objext conftest$ac_exeext
 
7073
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7074
  (eval $ac_link) 2>conftest.er1
 
7075
  ac_status=$?
 
7076
  grep -v '^ *+' conftest.er1 >conftest.err
 
7077
  rm -f conftest.er1
 
7078
  cat conftest.err >&5
 
7079
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7080
  (exit $ac_status); } &&
 
7081
         { ac_try='test -z "$ac_c_werror_flag"
 
7082
                         || test ! -s conftest.err'
 
7083
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7084
  (eval $ac_try) 2>&5
 
7085
  ac_status=$?
 
7086
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7087
  (exit $ac_status); }; } &&
 
7088
         { ac_try='test -s conftest$ac_exeext'
 
7089
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7090
  (eval $ac_try) 2>&5
 
7091
  ac_status=$?
 
7092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7093
  (exit $ac_status); }; }; then
 
7094
  ac_cv_lib_glu32_main=yes
 
7095
else
 
7096
  echo "$as_me: failed program was:" >&5
 
7097
sed 's/^/| /' conftest.$ac_ext >&5
 
7098
 
 
7099
ac_cv_lib_glu32_main=no
 
7100
fi
 
7101
rm -f conftest.err conftest.$ac_objext \
 
7102
      conftest$ac_exeext conftest.$ac_ext
 
7103
LIBS=$ac_check_lib_save_LIBS
 
7104
fi
 
7105
echo "$as_me:$LINENO: result: $ac_cv_lib_glu32_main" >&5
 
7106
echo "${ECHO_T}$ac_cv_lib_glu32_main" >&6
 
7107
if test $ac_cv_lib_glu32_main = yes; then
 
7108
  cat >>confdefs.h <<_ACEOF
 
7109
#define HAVE_LIBGLU32 1
 
7110
_ACEOF
 
7111
 
 
7112
  LIBS="-lglu32 $LIBS"
 
7113
 
 
7114
fi
 
7115
 
 
7116
echo "$as_me:$LINENO: checking for main in -lglut" >&5
 
7117
echo $ECHO_N "checking for main in -lglut... $ECHO_C" >&6
 
7118
if test "${ac_cv_lib_glut_main+set}" = set; then
 
7119
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7120
else
 
7121
  ac_check_lib_save_LIBS=$LIBS
 
7122
LIBS="-lglut  $LIBS"
 
7123
cat >conftest.$ac_ext <<_ACEOF
 
7124
/* confdefs.h.  */
 
7125
_ACEOF
 
7126
cat confdefs.h >>conftest.$ac_ext
 
7127
cat >>conftest.$ac_ext <<_ACEOF
 
7128
/* end confdefs.h.  */
 
7129
 
 
7130
 
 
7131
int
 
7132
main ()
 
7133
{
 
7134
main ();
 
7135
  ;
 
7136
  return 0;
 
7137
}
 
7138
_ACEOF
 
7139
rm -f conftest.$ac_objext conftest$ac_exeext
 
7140
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7141
  (eval $ac_link) 2>conftest.er1
 
7142
  ac_status=$?
 
7143
  grep -v '^ *+' conftest.er1 >conftest.err
 
7144
  rm -f conftest.er1
 
7145
  cat conftest.err >&5
 
7146
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7147
  (exit $ac_status); } &&
 
7148
         { ac_try='test -z "$ac_c_werror_flag"
 
7149
                         || test ! -s conftest.err'
 
7150
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7151
  (eval $ac_try) 2>&5
 
7152
  ac_status=$?
 
7153
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7154
  (exit $ac_status); }; } &&
 
7155
         { ac_try='test -s conftest$ac_exeext'
 
7156
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
7157
  (eval $ac_try) 2>&5
 
7158
  ac_status=$?
 
7159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7160
  (exit $ac_status); }; }; then
 
7161
  ac_cv_lib_glut_main=yes
 
7162
else
 
7163
  echo "$as_me: failed program was:" >&5
 
7164
sed 's/^/| /' conftest.$ac_ext >&5
 
7165
 
 
7166
ac_cv_lib_glut_main=no
 
7167
fi
 
7168
rm -f conftest.err conftest.$ac_objext \
 
7169
      conftest$ac_exeext conftest.$ac_ext
 
7170
LIBS=$ac_check_lib_save_LIBS
 
7171
fi
 
7172
echo "$as_me:$LINENO: result: $ac_cv_lib_glut_main" >&5
 
7173
echo "${ECHO_T}$ac_cv_lib_glut_main" >&6
 
7174
if test $ac_cv_lib_glut_main = yes; then
 
7175
  opengl="yes"; cat >>confdefs.h <<\_ACEOF
 
7176
#define HAVE_OPENGL 1
 
7177
_ACEOF
 
7178
 
 
7179
fi
 
7180
 
 
7181
if eval "test x$opengl = xyes" ; then
 
7182
    if eval "test x$win32 = xyes" ; then
 
7183
        OPENGL_LIBS="-lopengl32 -lglu32 -lglut"
 
7184
    else
 
7185
        OPENGL_LIBS="-lGL -lGLU -lglut"
 
7186
    fi
 
7187
 
 
7188
fi
 
7189
 
 
7190
# Find a good install program.  We prefer a C program (faster),
 
7191
# so one script is as good as another.  But avoid the broken or
 
7192
# incompatible versions:
 
7193
# SysV /etc/install, /usr/sbin/install
 
7194
# SunOS /usr/etc/install
 
7195
# IRIX /sbin/install
 
7196
# AIX /bin/install
 
7197
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
7198
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
7199
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
7200
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
7201
# OS/2's system install, which has a completely different semantic
 
7202
# ./install, which can be erroneously created by make from ./install.sh.
 
7203
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
7204
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
7205
if test -z "$INSTALL"; then
 
7206
if test "${ac_cv_path_install+set}" = set; then
 
7207
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7208
else
 
7209
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7210
for as_dir in $PATH
 
7211
do
 
7212
  IFS=$as_save_IFS
 
7213
  test -z "$as_dir" && as_dir=.
 
7214
  # Account for people who put trailing slashes in PATH elements.
 
7215
case $as_dir/ in
 
7216
  ./ | .// | /cC/* | \
 
7217
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
7218
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
7219
  /usr/ucb/* ) ;;
 
7220
  *)
 
7221
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
7222
    # Don't use installbsd from OSF since it installs stuff as root
 
7223
    # by default.
 
7224
    for ac_prog in ginstall scoinst install; do
 
7225
      for ac_exec_ext in '' $ac_executable_extensions; do
 
7226
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
7227
          if test $ac_prog = install &&
 
7228
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
7229
            # AIX install.  It has an incompatible calling convention.
 
7230
            :
 
7231
          elif test $ac_prog = install &&
 
7232
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
7233
            # program-specific install script used by HP pwplus--don't use.
 
7234
            :
 
7235
          else
 
7236
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
7237
            break 3
 
7238
          fi
 
7239
        fi
 
7240
      done
 
7241
    done
 
7242
    ;;
 
7243
esac
 
7244
done
 
7245
 
 
7246
 
 
7247
fi
 
7248
  if test "${ac_cv_path_install+set}" = set; then
 
7249
    INSTALL=$ac_cv_path_install
 
7250
  else
 
7251
    # As a last resort, use the slow shell script.  We don't cache a
 
7252
    # path for INSTALL within a source directory, because that will
 
7253
    # break other packages using the cache if that directory is
 
7254
    # removed, or if the path is relative.
 
7255
    INSTALL=$ac_install_sh
 
7256
  fi
 
7257
fi
 
7258
echo "$as_me:$LINENO: result: $INSTALL" >&5
 
7259
echo "${ECHO_T}$INSTALL" >&6
 
7260
 
 
7261
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
7262
# It thinks the first close brace ends the variable substitution.
 
7263
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
7264
 
 
7265
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
7266
 
 
7267
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
7268
 
 
7269
echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
7270
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
7271
LN_S=$as_ln_s
 
7272
if test "$LN_S" = "ln -s"; then
 
7273
  echo "$as_me:$LINENO: result: yes" >&5
 
7274
echo "${ECHO_T}yes" >&6
 
7275
else
 
7276
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
7277
echo "${ECHO_T}no, using $LN_S" >&6
 
7278
fi
 
7279
 
 
7280
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
7281
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
 
7282
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
 
7283
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
7284
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7285
else
 
7286
  cat >conftest.make <<\_ACEOF
 
7287
all:
 
7288
        @echo 'ac_maketemp="$(MAKE)"'
 
7289
_ACEOF
 
7290
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
7291
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 
7292
if test -n "$ac_maketemp"; then
 
7293
  eval ac_cv_prog_make_${ac_make}_set=yes
 
7294
else
 
7295
  eval ac_cv_prog_make_${ac_make}_set=no
 
7296
fi
 
7297
rm -f conftest.make
 
7298
fi
 
7299
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 
7300
  echo "$as_me:$LINENO: result: yes" >&5
 
7301
echo "${ECHO_T}yes" >&6
 
7302
  SET_MAKE=
 
7303
else
 
7304
  echo "$as_me:$LINENO: result: no" >&5
 
7305
echo "${ECHO_T}no" >&6
 
7306
  SET_MAKE="MAKE=${MAKE-make}"
 
7307
fi
 
7308
 
 
7309
ac_ext=c
 
7310
ac_cpp='$CPP $CPPFLAGS'
 
7311
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7312
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7313
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7314
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7315
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
7316
# On Suns, sometimes $CPP names a directory.
 
7317
if test -n "$CPP" && test -d "$CPP"; then
 
7318
  CPP=
 
7319
fi
 
7320
if test -z "$CPP"; then
 
7321
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7322
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7323
else
 
7324
      # Double quotes because CPP needs to be expanded
 
7325
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7326
    do
 
7327
      ac_preproc_ok=false
 
7328
for ac_c_preproc_warn_flag in '' yes
 
7329
do
 
7330
  # Use a header file that comes with gcc, so configuring glibc
 
7331
  # with a fresh cross-compiler works.
 
7332
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7333
  # <limits.h> exists even on freestanding compilers.
 
7334
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7335
  # not just through cpp. "Syntax error" is here to catch this case.
 
7336
  cat >conftest.$ac_ext <<_ACEOF
 
7337
/* confdefs.h.  */
 
7338
_ACEOF
 
7339
cat confdefs.h >>conftest.$ac_ext
 
7340
cat >>conftest.$ac_ext <<_ACEOF
 
7341
/* end confdefs.h.  */
 
7342
#ifdef __STDC__
 
7343
# include <limits.h>
 
7344
#else
 
7345
# include <assert.h>
 
7346
#endif
 
7347
                     Syntax error
 
7348
_ACEOF
 
7349
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
7350
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7351
  ac_status=$?
 
7352
  grep -v '^ *+' conftest.er1 >conftest.err
 
7353
  rm -f conftest.er1
 
7354
  cat conftest.err >&5
 
7355
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7356
  (exit $ac_status); } >/dev/null; then
 
7357
  if test -s conftest.err; then
 
7358
    ac_cpp_err=$ac_c_preproc_warn_flag
 
7359
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
7360
  else
 
7361
    ac_cpp_err=
 
7362
  fi
 
7363
else
 
7364
  ac_cpp_err=yes
 
7365
fi
 
7366
if test -z "$ac_cpp_err"; then
 
7367
  :
 
7368
else
 
7369
  echo "$as_me: failed program was:" >&5
 
7370
sed 's/^/| /' conftest.$ac_ext >&5
 
7371
 
 
7372
  # Broken: fails on valid input.
 
7373
continue
 
7374
fi
 
7375
rm -f conftest.err conftest.$ac_ext
 
7376
 
 
7377
  # OK, works on sane cases.  Now check whether non-existent headers
 
7378
  # can be detected and how.
 
7379
  cat >conftest.$ac_ext <<_ACEOF
 
7380
/* confdefs.h.  */
 
7381
_ACEOF
 
7382
cat confdefs.h >>conftest.$ac_ext
 
7383
cat >>conftest.$ac_ext <<_ACEOF
 
7384
/* end confdefs.h.  */
 
7385
#include <ac_nonexistent.h>
 
7386
_ACEOF
 
7387
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
7388
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7389
  ac_status=$?
 
7390
  grep -v '^ *+' conftest.er1 >conftest.err
 
7391
  rm -f conftest.er1
 
7392
  cat conftest.err >&5
 
7393
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7394
  (exit $ac_status); } >/dev/null; then
 
7395
  if test -s conftest.err; then
 
7396
    ac_cpp_err=$ac_c_preproc_warn_flag
 
7397
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
7398
  else
 
7399
    ac_cpp_err=
 
7400
  fi
 
7401
else
 
7402
  ac_cpp_err=yes
 
7403
fi
 
7404
if test -z "$ac_cpp_err"; then
 
7405
  # Broken: success on invalid input.
 
7406
continue
 
7407
else
 
7408
  echo "$as_me: failed program was:" >&5
 
7409
sed 's/^/| /' conftest.$ac_ext >&5
 
7410
 
 
7411
  # Passes both tests.
 
7412
ac_preproc_ok=:
 
7413
break
 
7414
fi
 
7415
rm -f conftest.err conftest.$ac_ext
 
7416
 
 
7417
done
 
7418
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7419
rm -f conftest.err conftest.$ac_ext
 
7420
if $ac_preproc_ok; then
 
7421
  break
 
7422
fi
 
7423
 
 
7424
    done
 
7425
    ac_cv_prog_CPP=$CPP
 
7426
 
 
7427
fi
 
7428
  CPP=$ac_cv_prog_CPP
 
7429
else
 
7430
  ac_cv_prog_CPP=$CPP
 
7431
fi
 
7432
echo "$as_me:$LINENO: result: $CPP" >&5
 
7433
echo "${ECHO_T}$CPP" >&6
 
7434
ac_preproc_ok=false
 
7435
for ac_c_preproc_warn_flag in '' yes
 
7436
do
 
7437
  # Use a header file that comes with gcc, so configuring glibc
 
7438
  # with a fresh cross-compiler works.
 
7439
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7440
  # <limits.h> exists even on freestanding compilers.
 
7441
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7442
  # not just through cpp. "Syntax error" is here to catch this case.
 
7443
  cat >conftest.$ac_ext <<_ACEOF
 
7444
/* confdefs.h.  */
 
7445
_ACEOF
 
7446
cat confdefs.h >>conftest.$ac_ext
 
7447
cat >>conftest.$ac_ext <<_ACEOF
 
7448
/* end confdefs.h.  */
 
7449
#ifdef __STDC__
 
7450
# include <limits.h>
 
7451
#else
 
7452
# include <assert.h>
 
7453
#endif
 
7454
                     Syntax error
 
7455
_ACEOF
 
7456
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
7457
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7458
  ac_status=$?
 
7459
  grep -v '^ *+' conftest.er1 >conftest.err
 
7460
  rm -f conftest.er1
 
7461
  cat conftest.err >&5
 
7462
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7463
  (exit $ac_status); } >/dev/null; then
 
7464
  if test -s conftest.err; then
 
7465
    ac_cpp_err=$ac_c_preproc_warn_flag
 
7466
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
7467
  else
 
7468
    ac_cpp_err=
 
7469
  fi
 
7470
else
 
7471
  ac_cpp_err=yes
 
7472
fi
 
7473
if test -z "$ac_cpp_err"; then
 
7474
  :
 
7475
else
 
7476
  echo "$as_me: failed program was:" >&5
 
7477
sed 's/^/| /' conftest.$ac_ext >&5
 
7478
 
 
7479
  # Broken: fails on valid input.
 
7480
continue
 
7481
fi
 
7482
rm -f conftest.err conftest.$ac_ext
 
7483
 
 
7484
  # OK, works on sane cases.  Now check whether non-existent headers
 
7485
  # can be detected and how.
 
7486
  cat >conftest.$ac_ext <<_ACEOF
 
7487
/* confdefs.h.  */
 
7488
_ACEOF
 
7489
cat confdefs.h >>conftest.$ac_ext
 
7490
cat >>conftest.$ac_ext <<_ACEOF
 
7491
/* end confdefs.h.  */
 
7492
#include <ac_nonexistent.h>
 
7493
_ACEOF
 
7494
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
 
7495
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
7496
  ac_status=$?
 
7497
  grep -v '^ *+' conftest.er1 >conftest.err
 
7498
  rm -f conftest.er1
 
7499
  cat conftest.err >&5
 
7500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7501
  (exit $ac_status); } >/dev/null; then
 
7502
  if test -s conftest.err; then
 
7503
    ac_cpp_err=$ac_c_preproc_warn_flag
 
7504
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
 
7505
  else
 
7506
    ac_cpp_err=
 
7507
  fi
 
7508
else
 
7509
  ac_cpp_err=yes
 
7510
fi
 
7511
if test -z "$ac_cpp_err"; then
 
7512
  # Broken: success on invalid input.
 
7513
continue
 
7514
else
 
7515
  echo "$as_me: failed program was:" >&5
 
7516
sed 's/^/| /' conftest.$ac_ext >&5
 
7517
 
 
7518
  # Passes both tests.
 
7519
ac_preproc_ok=:
 
7520
break
 
7521
fi
 
7522
rm -f conftest.err conftest.$ac_ext
 
7523
 
 
7524
done
 
7525
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7526
rm -f conftest.err conftest.$ac_ext
 
7527
if $ac_preproc_ok; then
 
7528
  :
 
7529
else
 
7530
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7531
See \`config.log' for more details." >&5
 
7532
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7533
See \`config.log' for more details." >&2;}
 
7534
   { (exit 1); exit 1; }; }
 
7535
fi
 
7536
 
 
7537
ac_ext=c
 
7538
ac_cpp='$CPP $CPPFLAGS'
 
7539
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7540
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7541
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7542
 
 
7543
if test -n "$ac_tool_prefix"; then
 
7544
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
7545
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
7546
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7547
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7548
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7549
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7550
else
 
7551
  if test -n "$RANLIB"; then
 
7552
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
7553
else
 
7554
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7555
for as_dir in $PATH
 
7556
do
 
7557
  IFS=$as_save_IFS
 
7558
  test -z "$as_dir" && as_dir=.
 
7559
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7560
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7561
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
7562
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7563
    break 2
 
7564
  fi
 
7565
done
 
7566
done
 
7567
 
 
7568
fi
 
7569
fi
 
7570
RANLIB=$ac_cv_prog_RANLIB
 
7571
if test -n "$RANLIB"; then
 
7572
  echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7573
echo "${ECHO_T}$RANLIB" >&6
 
7574
else
 
7575
  echo "$as_me:$LINENO: result: no" >&5
 
7576
echo "${ECHO_T}no" >&6
 
7577
fi
 
7578
 
 
7579
fi
 
7580
if test -z "$ac_cv_prog_RANLIB"; then
 
7581
  ac_ct_RANLIB=$RANLIB
 
7582
  # Extract the first word of "ranlib", so it can be a program name with args.
 
7583
set dummy ranlib; ac_word=$2
 
7584
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7585
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
7586
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7587
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7588
else
 
7589
  if test -n "$ac_ct_RANLIB"; then
 
7590
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
7591
else
 
7592
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7593
for as_dir in $PATH
 
7594
do
 
7595
  IFS=$as_save_IFS
 
7596
  test -z "$as_dir" && as_dir=.
 
7597
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7598
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7599
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
7600
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7601
    break 2
 
7602
  fi
 
7603
done
 
7604
done
 
7605
 
 
7606
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
 
7607
fi
 
7608
fi
 
7609
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
7610
if test -n "$ac_ct_RANLIB"; then
 
7611
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7612
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
7613
else
 
7614
  echo "$as_me:$LINENO: result: no" >&5
 
7615
echo "${ECHO_T}no" >&6
 
7616
fi
 
7617
 
 
7618
  RANLIB=$ac_ct_RANLIB
 
7619
else
 
7620
  RANLIB="$ac_cv_prog_RANLIB"
 
7621
fi
 
7622
 
 
7623
 
 
7624
 
 
7625
 
7136
7626
 
7137
7627
CPPFLAGS="$CPPFLAGS $EXTRA_INC"
7138
7628
LDFLAGS="$LDFLAGS $EXTRA_LIB"
8079
8569
 
8080
8570
 
8081
8571
 
8082
 
 
8083
8572
if eval "test x$use_sdl = xyes"; then
8084
8573
 
8085
8574
# Check whether --with-sdl-prefix or --without-sdl-prefix was given.
8275
8764
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8276
8765
fi
8277
8766
       CFLAGS="$ac_save_CFLAGS"
8278
 
       CXXFLAGS="$ac_save_CXXFLAGS"
8279
8767
       LIBS="$ac_save_LIBS"
8280
8768
     fi
8281
8769
  fi
8370
8858
       fi
8371
8859
     fi
8372
8860
     SDL_CFLAGS=""
 
8861
     SDL_CXXFLAGS=""
8373
8862
     SDL_LIBS=""
8374
8863
     :
8375
8864
  fi
8385
8874
  echo $ECHO_N "(cached) $ECHO_C" >&6
8386
8875
else
8387
8876
  ac_check_lib_save_LIBS=$LIBS
8388
 
LIBS="-lSDL_image $SDL_CFLAGS $LIBS"
 
8877
LIBS="-lSDL_image $SDL_CFLAGS $SDL_LIBS $LIBS"
8389
8878
cat >conftest.$ac_ext <<_ACEOF
8390
8879
/* confdefs.h.  */
8391
8880
_ACEOF
10709
11198
 
10710
11199
 
10711
11200
 
10712
 
for ac_func in mkdir socket strcspn sysconf
 
11201
 
 
11202
for ac_func in mkdir socket strcspn sysconf getaddrinfo
10713
11203
do
10714
11204
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10715
11205
echo "$as_me:$LINENO: checking for $ac_func" >&5
10824
11314
nbindir=`eval echo ${bindir}`
10825
11315
nbindir=`eval echo ${nbindir}`
10826
11316
 
 
11317
if eval "test x$win32 = xyes" ; then
 
11318
    cat >>confdefs.h <<_ACEOF
 
11319
#define DATADIR "."
 
11320
_ACEOF
 
11321
 
 
11322
else
10827
11323
cat >>confdefs.h <<_ACEOF
10828
11324
#define DATADIR "${ndatadir}/crossfire-client"
10829
11325
_ACEOF
10830
11326
 
 
11327
fi
10831
11328
cat >>confdefs.h <<_ACEOF
10832
11329
#define BINDIR "${nbindir}"
10833
11330
_ACEOF
10834
11331
 
 
11332
cat >>confdefs.h <<_ACEOF
 
11333
#define MINLOGLEVEL ${MINLOGLEVEL}
 
11334
_ACEOF
 
11335
 
10835
11336
 
10836
11337
 
10837
11338
 
10943
11444
Usually this means the macro was only invoked conditionally." >&2;}
10944
11445
   { (exit 1); exit 1; }; }
10945
11446
fi
 
11447
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
11448
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
11449
Usually this means the macro was only invoked conditionally." >&5
 
11450
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
11451
Usually this means the macro was only invoked conditionally." >&2;}
 
11452
   { (exit 1); exit 1; }; }
 
11453
fi
10946
11454
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10947
11455
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10948
11456
Usually this means the macro was only invoked conditionally." >&5
10950
11458
Usually this means the macro was only invoked conditionally." >&2;}
10951
11459
   { (exit 1); exit 1; }; }
10952
11460
fi
10953
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10954
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10955
 
Usually this means the macro was only invoked conditionally." >&5
10956
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10957
 
Usually this means the macro was only invoked conditionally." >&2;}
10958
 
   { (exit 1); exit 1; }; }
10959
 
fi
10960
11461
 
10961
11462
: ${CONFIG_STATUS=./config.status}
10962
11463
ac_clean_files_save=$ac_clean_files
11228
11729
} >&5
11229
11730
cat >&5 <<_CSEOF
11230
11731
 
11231
 
This file was extended by crossfire-client $as_me 1.9.1, which was
 
11732
This file was extended by crossfire-client $as_me 1.10.0, which was
11232
11733
generated by GNU Autoconf 2.59.  Invocation command line was
11233
11734
 
11234
11735
  CONFIG_FILES    = $CONFIG_FILES
11291
11792
 
11292
11793
cat >>$CONFIG_STATUS <<_ACEOF
11293
11794
ac_cs_version="\\
11294
 
crossfire-client config.status 1.9.1
 
11795
crossfire-client config.status 1.10.0
11295
11796
configured by $0, generated by GNU Autoconf 2.59,
11296
11797
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11297
11798
 
11539
12040
s,@RM@,$RM,;t t
11540
12041
s,@PERL@,$PERL,;t t
11541
12042
s,@AR@,$AR,;t t
 
12043
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
12044
s,@SVNVERSION@,$SVNVERSION,;t t
11542
12045
s,@CC@,$CC,;t t
11543
12046
s,@CFLAGS@,$CFLAGS,;t t
11544
12047
s,@LDFLAGS@,$LDFLAGS,;t t
11560
12063
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
11561
12064
s,@X_LIBS@,$X_LIBS,;t t
11562
12065
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
11563
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
12066
s,@WIN32_LIBS@,$WIN32_LIBS,;t t
11564
12067
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
11565
 
s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
11566
 
s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
 
12068
s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
 
12069
s,@GTK2_LIBS@,$GTK2_LIBS,;t t
 
12070
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
 
12071
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
 
12072
s,@GTK_LIBS@,$GTK_LIBS,;t t
 
12073
s,@CFGTK@,$CFGTK,;t t
11567
12074
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
11568
12075
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
11569
12076
s,@MAINT@,$MAINT,;t t
 
12077
s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
11570
12078
s,@INTLLIBS@,$INTLLIBS,;t t
11571
12079
s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
11572
12080
s,@LN_S@,$LN_S,;t t
11573
12081
s,@RANLIB@,$RANLIB,;t t
11574
12082
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
11575
 
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
11576
 
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
11577
 
s,@GTK_LIBS@,$GTK_LIBS,;t t
11578
 
s,@CFGTK@,$CFGTK,;t t
11579
12083
s,@EGREP@,$EGREP,;t t
11580
12084
s,@GUI_OBJS@,$GUI_OBJS,;t t
11581
12085
s,@GUI_SRCS@,$GUI_SRCS,;t t