~ubuntu-branches/ubuntu/saucy/gnome-screensaver/saucy-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-12-19 18:37:44 UTC
  • mto: (1.4.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051219183744-c8xqhevfb3j7xde3
Tags: upstream-0.0.23
ImportĀ upstreamĀ versionĀ 0.0.23

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 gnome-screensaver 0.0.15.
 
3
# Generated by GNU Autoconf 2.59 for gnome-screensaver 0.0.23.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-screensaver>.
6
6
#
423
423
# Identity of this package.
424
424
PACKAGE_NAME='gnome-screensaver'
425
425
PACKAGE_TARNAME='gnome-screensaver'
426
 
PACKAGE_VERSION='0.0.15'
427
 
PACKAGE_STRING='gnome-screensaver 0.0.15'
 
426
PACKAGE_VERSION='0.0.23'
 
427
PACKAGE_STRING='gnome-screensaver 0.0.23'
428
428
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-screensaver'
429
429
 
430
430
ac_unique_file="src/gnome-screensaver.c"
465
465
# include <unistd.h>
466
466
#endif"
467
467
 
468
 
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT 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 EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG ac_pt_PKG_CONFIG GNOME_SCREENSAVER_CFLAGS GNOME_SCREENSAVER_LIBS GNOME_SCREENSAVER_DIALOG_CFLAGS GNOME_SCREENSAVER_DIALOG_LIBS GNOME_SCREENSAVER_CAPPLET_CFLAGS GNOME_SCREENSAVER_CAPPLET_LIBS GNOME_SCREENSAVER_COMMAND_CFLAGS GNOME_SCREENSAVER_COMMAND_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GLIB_GENMARSHAL GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE WARN_CFLAGS EXIF_CFLAGS EXIF_LIBS GNOME_SCREENSAVER_SAVER_CFLAGS GNOME_SCREENSAVER_SAVER_LIBS DBUS_CFLAGS PAM_PREFIX FAST_USER_SWITCH_CFLAGS FAST_USER_SWITCH_LIBS LIB_GNOME_MENU_CFLAGS LIB_GNOME_MENU_LIBS HAVE_USER_SWITCHING_TRUE HAVE_USER_SWITCHING_FALSE HAVE_USER_SWITCHING HAVE_PAM_TRUE HAVE_PAM_FALSE HAVE_PAM HAVE_PASSWD_HELPER_TRUE HAVE_PASSWD_HELPER_FALSE HAVE_PASSWD_HELPER NEED_SETUID AUTH_LIBS SAVER_LIBS EXPANDED_LOCALSTATEDIR EXPANDED_SYSCONFDIR EXPANDED_BINDIR EXPANDED_LIBDIR EXPANDED_DATADIR DEBUG_CFLAGS SLIDESHOW_COSMOS_DIR GNOME_SCREENSAVER_THEMES_DIR LIBOBJS LTLIBOBJS'
 
468
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 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT 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 EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS PKG_CONFIG ac_pt_PKG_CONFIG GNOME_SCREENSAVER_CFLAGS GNOME_SCREENSAVER_LIBS GNOME_SCREENSAVER_DIALOG_CFLAGS GNOME_SCREENSAVER_DIALOG_LIBS GNOME_SCREENSAVER_CAPPLET_CFLAGS GNOME_SCREENSAVER_CAPPLET_LIBS GNOME_SCREENSAVER_COMMAND_CFLAGS GNOME_SCREENSAVER_COMMAND_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GLIB_GENMARSHAL GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE WARN_CFLAGS EXIF_CFLAGS EXIF_LIBS GNOME_SCREENSAVER_SAVER_CFLAGS GNOME_SCREENSAVER_SAVER_LIBS DBUS_CFLAGS PAM_PREFIX FAST_USER_SWITCH_CFLAGS FAST_USER_SWITCH_LIBS LIB_GNOME_MENU_CFLAGS LIB_GNOME_MENU_LIBS HAVE_USER_SWITCHING_TRUE HAVE_USER_SWITCHING_FALSE HAVE_USER_SWITCHING HAVE_PAM_TRUE HAVE_PAM_FALSE HAVE_PAM HAVE_PASSWD_HELPER_TRUE HAVE_PASSWD_HELPER_FALSE HAVE_PASSWD_HELPER NEED_SETUID AUTH_LIBS SAVER_LIBS EXPANDED_LOCALSTATEDIR EXPANDED_SYSCONFDIR EXPANDED_BINDIR EXPANDED_LIBDIR EXPANDED_DATADIR DEBUG_CFLAGS SLIDESHOW_COSMOS_DIR FLOATERS_FOOT_LOGO_IMAGE GNOME_SCREENSAVER_THEMES_DIR LIBOBJS LTLIBOBJS'
469
469
ac_subst_files=''
470
470
 
471
471
# Initialize some variables set by options.
1022
1022
  # Omit some internal or obsolete options to make the list less imposing.
1023
1023
  # This message is too long to be a string in the A/UX 3.1 sh.
1024
1024
  cat <<_ACEOF
1025
 
\`configure' configures gnome-screensaver 0.0.15 to adapt to many kinds of systems.
 
1025
\`configure' configures gnome-screensaver 0.0.23 to adapt to many kinds of systems.
1026
1026
 
1027
1027
Usage: $0 [OPTION]... [VAR=VALUE]...
1028
1028
 
1092
1092
 
1093
1093
if test -n "$ac_init_help"; then
1094
1094
  case $ac_init_help in
1095
 
     short | recursive ) echo "Configuration of gnome-screensaver 0.0.15:";;
 
1095
     short | recursive ) echo "Configuration of gnome-screensaver 0.0.23:";;
1096
1096
   esac
1097
1097
  cat <<\_ACEOF
1098
1098
 
1099
1099
Optional Features:
1100
1100
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1101
1101
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1102
 
  --enable-maintainer-mode enable make rules and dependencies not useful
1103
 
                          (and sometimes confusing) to the casual installer
1104
 
  --disable-dependency-tracking Speeds up one-time builds
1105
 
  --enable-dependency-tracking  Do not reject slow dependency extractors
 
1102
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1103
                          (and sometimes confusing) to the casual installer
 
1104
  --disable-dependency-tracking  speeds up one-time build
 
1105
  --enable-dependency-tracking   do not reject slow dependency extractors
1106
1106
  --enable-shared[=PKGS]
1107
1107
                          build shared libraries [default=yes]
1108
1108
  --enable-static[=PKGS]
1114
1114
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1115
1115
                          Turn on compiler warnings
1116
1116
  --enable-iso-c          Try to warn if code is not ISO C
 
1117
  --disable-xinerama      disable use of the Xinerama extension
1117
1118
 
1118
1119
Screen locking options:
1119
1120
 
1121
1122
  --disable-locking       Do not allow locking at all.
1122
1123
  --enable-pam            Enable PAM support [default=auto]
1123
1124
  --enable-more-warnings  Maximum compiler warnings
1124
 
  --enable-debug=no/yes turn on debugging default=no
 
1125
  --enable-debug=no/yes turn on debugging
1125
1126
 
1126
1127
Optional Packages:
1127
1128
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1138
1139
  --with-pam-prefix=<prefix>   specify where pam files go
1139
1140
  --with-gdm-config=file  The location of the GDM configuration file
1140
1141
Except where noted, all of the --with options below can also take a
1141
 
directory argument: for example, `--with-motif=/opt/Motif'.  That would
1142
 
cause /opt/Motif/include/ to be added to the -I list, and /opt/Motif/lib/
1143
 
to be added to the -L list, assuming those directories exist.
 
1142
directory argument.
1144
1143
 
1145
1144
By default, support for each of these options will be built in, if the
1146
1145
relevant library routines exist.  At run time, they will then be used
1155
1154
  --with-xidle-ext        Include support for the XIDLE extension.
1156
1155
  --with-sgivc-ext        Include support for the SGI-VIDEO-CONTROL extension.
1157
1156
  --with-dpms-ext         Include support for the DPMS extension.
1158
 
  --with-xinerama-ext     Include support for the XINERAMA extension.
1159
1157
  --with-xf86vmode-ext    Include support for XFree86 virtual screens.
1160
1158
  --with-xf86gamma-ext    Include support for XFree86 gamma fading.
1161
 
  --with-randr-ext        Include support for the X Resize+Rotate extension.
1162
 
  --with-proc-interrupts  Include support for consulting the /proc/interrupts
1163
 
                          file to notice keyboard activity.
1164
1159
  --with-xscreensaverdir=dir
1165
1160
                          Use xscreensaver hack configs found in directory
1166
1161
  --with-xscreensaverhackdir=dir
1319
1314
test -n "$ac_init_help" && exit 0
1320
1315
if $ac_init_version; then
1321
1316
  cat <<\_ACEOF
1322
 
gnome-screensaver configure 0.0.15
 
1317
gnome-screensaver configure 0.0.23
1323
1318
generated by GNU Autoconf 2.59
1324
1319
 
1325
1320
Copyright (C) 2003 Free Software Foundation, Inc.
1333
1328
This file contains any messages produced by compilers while
1334
1329
running configure, to aid debugging if configure makes a mistake.
1335
1330
 
1336
 
It was created by gnome-screensaver $as_me 0.0.15, which was
 
1331
It was created by gnome-screensaver $as_me 0.0.23, which was
1337
1332
generated by GNU Autoconf 2.59.  Invocation command line was
1338
1333
 
1339
1334
  $ $0 $@
1672
1667
 
1673
1668
 
1674
1669
 
1675
 
am__api_version="1.7"
 
1670
am__api_version="1.9"
1676
1671
ac_aux_dir=
1677
1672
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1678
1673
  if test -f $ac_dir/install-sh; then
1835
1830
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1836
1831
rm conftest.sed
1837
1832
 
1838
 
 
1839
1833
# expand $ac_aux_dir to an absolute path
1840
1834
am_aux_dir=`cd $ac_aux_dir && pwd`
1841
1835
 
1849
1843
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1850
1844
fi
1851
1845
 
 
1846
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1847
  # We used to keeping the `.' as first argument, in order to
 
1848
  # allow $(mkdir_p) to be used without argument.  As in
 
1849
  #   $(mkdir_p) $(somedir)
 
1850
  # where $(somedir) is conditionally defined.  However this is wrong
 
1851
  # for two reasons:
 
1852
  #  1. if the package is installed by a user who cannot write `.'
 
1853
  #     make install will fail,
 
1854
  #  2. the above comment should most certainly read
 
1855
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1856
  #     so it does not work when $(somedir) is undefined and
 
1857
  #     $(DESTDIR) is not.
 
1858
  #  To support the latter case, we have to write
 
1859
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1860
  #  so the `.' trick is pointless.
 
1861
  mkdir_p='mkdir -p --'
 
1862
else
 
1863
  # On NextStep and OpenStep, the `mkdir' command does not
 
1864
  # recognize any option.  It will interpret all options as
 
1865
  # directories to create, and then abort because `.' already
 
1866
  # exists.
 
1867
  for d in ./-p ./--version;
 
1868
  do
 
1869
    test -d $d && rmdir $d
 
1870
  done
 
1871
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1872
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1873
    mkdir_p='$(mkinstalldirs)'
 
1874
  else
 
1875
    mkdir_p='$(install_sh) -d'
 
1876
  fi
 
1877
fi
 
1878
 
1852
1879
for ac_prog in gawk mawk nawk awk
1853
1880
do
1854
1881
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1927
1954
fi
1928
1955
rmdir .tst 2>/dev/null
1929
1956
 
1930
 
 # test to see if srcdir already configured
 
1957
# test to see if srcdir already configured
1931
1958
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1932
1959
   test -f $srcdir/config.status; then
1933
1960
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1947
1974
 
1948
1975
# Define the identity of the package.
1949
1976
 PACKAGE='gnome-screensaver'
1950
 
 VERSION='0.0.15'
 
1977
 VERSION='0.0.23'
1951
1978
 
1952
1979
 
1953
1980
cat >>confdefs.h <<_ACEOF
1975
2002
 
1976
2003
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1977
2004
 
1978
 
 
1979
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
1980
 
 
1981
2005
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1982
2006
 
1983
2007
# Installed binaries are usually stripped using `strip' when the user
2070
2094
 
2071
2095
# We need awk for the "check" target.  The system "awk" is bad on
2072
2096
# some platforms.
 
2097
# Always define AMTAR for backward compatibility.
 
2098
 
 
2099
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2100
 
 
2101
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2102
 
 
2103
 
2073
2104
 
2074
2105
 
2075
2106
 
2135
2166
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2136
2167
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
2137
2168
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
2169
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
2170
 
2138
2171
 
2139
2172
 
2140
2173
 
2385
2418
fi
2386
2419
 
2387
2420
 
2388
 
# Remove file type tags (using []) from po/POTFILES.
2389
 
 
2390
 
 
2391
 
# Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT.
 
2421
 
 
2422
 
2392
2423
 
2393
2424
          ac_config_commands="$ac_config_commands intltool"
2394
2425
 
3430
3461
    : > sub/conftest.c
3431
3462
    for i in 1 2 3 4 5 6; do
3432
3463
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3433
 
      : > sub/conftst$i.h
 
3464
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3465
      # Solaris 8's {/usr,}/bin/sh.
 
3466
      touch sub/conftst$i.h
3434
3467
    done
3435
3468
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3436
3469
 
3458
3491
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3459
3492
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3460
3493
      # icc doesn't choke on unknown options, it will just issue warnings
3461
 
      # (even with -Werror).  So we grep stderr for any message
3462
 
      # that says an option was ignored.
3463
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
3494
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3495
      # that says an option was ignored or not supported.
 
3496
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3497
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3498
      # The diagnosis changed in icc 8.0:
 
3499
      #   icc: Command line remark: option '-MP' not supported
 
3500
      if (grep 'ignoring option' conftest.err ||
 
3501
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3464
3502
        am_cv_CC_dependencies_compiler_type=$depmode
3465
3503
        break
3466
3504
      fi
3492
3530
 
3493
3531
 
3494
3532
 
3495
 
 
3496
 
        echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
3497
 
echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6
3498
 
if test "${ac_cv_lib_cposix_strerror+set}" = set; then
 
3533
echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3534
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
 
3535
if test "${ac_cv_search_strerror+set}" = set; then
3499
3536
  echo $ECHO_N "(cached) $ECHO_C" >&6
3500
3537
else
3501
 
  ac_check_lib_save_LIBS=$LIBS
3502
 
LIBS="-lcposix  $LIBS"
 
3538
  ac_func_search_save_LIBS=$LIBS
 
3539
ac_cv_search_strerror=no
3503
3540
cat >conftest.$ac_ext <<_ACEOF
3504
3541
/* confdefs.h.  */
3505
3542
_ACEOF
3544
3581
  ac_status=$?
3545
3582
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546
3583
  (exit $ac_status); }; }; then
3547
 
  ac_cv_lib_cposix_strerror=yes
3548
 
else
3549
 
  echo "$as_me: failed program was:" >&5
3550
 
sed 's/^/| /' conftest.$ac_ext >&5
3551
 
 
3552
 
ac_cv_lib_cposix_strerror=no
3553
 
fi
3554
 
rm -f conftest.err conftest.$ac_objext \
3555
 
      conftest$ac_exeext conftest.$ac_ext
3556
 
LIBS=$ac_check_lib_save_LIBS
3557
 
fi
3558
 
echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
3559
 
echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6
3560
 
if test $ac_cv_lib_cposix_strerror = yes; then
3561
 
  LIBS="$LIBS -lcposix"
3562
 
fi
3563
 
 
3564
 
 
 
3584
  ac_cv_search_strerror="none required"
 
3585
else
 
3586
  echo "$as_me: failed program was:" >&5
 
3587
sed 's/^/| /' conftest.$ac_ext >&5
 
3588
 
 
3589
fi
 
3590
rm -f conftest.err conftest.$ac_objext \
 
3591
      conftest$ac_exeext conftest.$ac_ext
 
3592
if test "$ac_cv_search_strerror" = no; then
 
3593
  for ac_lib in cposix; do
 
3594
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3595
    cat >conftest.$ac_ext <<_ACEOF
 
3596
/* confdefs.h.  */
 
3597
_ACEOF
 
3598
cat confdefs.h >>conftest.$ac_ext
 
3599
cat >>conftest.$ac_ext <<_ACEOF
 
3600
/* end confdefs.h.  */
 
3601
 
 
3602
/* Override any gcc2 internal prototype to avoid an error.  */
 
3603
#ifdef __cplusplus
 
3604
extern "C"
 
3605
#endif
 
3606
/* We use char because int might match the return type of a gcc2
 
3607
   builtin and then its argument prototype would still apply.  */
 
3608
char strerror ();
 
3609
int
 
3610
main ()
 
3611
{
 
3612
strerror ();
 
3613
  ;
 
3614
  return 0;
 
3615
}
 
3616
_ACEOF
 
3617
rm -f conftest.$ac_objext conftest$ac_exeext
 
3618
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
3619
  (eval $ac_link) 2>conftest.er1
 
3620
  ac_status=$?
 
3621
  grep -v '^ *+' conftest.er1 >conftest.err
 
3622
  rm -f conftest.er1
 
3623
  cat conftest.err >&5
 
3624
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3625
  (exit $ac_status); } &&
 
3626
         { ac_try='test -z "$ac_c_werror_flag"
 
3627
                         || test ! -s conftest.err'
 
3628
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3629
  (eval $ac_try) 2>&5
 
3630
  ac_status=$?
 
3631
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3632
  (exit $ac_status); }; } &&
 
3633
         { ac_try='test -s conftest$ac_exeext'
 
3634
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
3635
  (eval $ac_try) 2>&5
 
3636
  ac_status=$?
 
3637
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3638
  (exit $ac_status); }; }; then
 
3639
  ac_cv_search_strerror="-l$ac_lib"
 
3640
break
 
3641
else
 
3642
  echo "$as_me: failed program was:" >&5
 
3643
sed 's/^/| /' conftest.$ac_ext >&5
 
3644
 
 
3645
fi
 
3646
rm -f conftest.err conftest.$ac_objext \
 
3647
      conftest$ac_exeext conftest.$ac_ext
 
3648
  done
 
3649
fi
 
3650
LIBS=$ac_func_search_save_LIBS
 
3651
fi
 
3652
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3653
echo "${ECHO_T}$ac_cv_search_strerror" >&6
 
3654
if test "$ac_cv_search_strerror" != no; then
 
3655
  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
 
3656
 
 
3657
fi
3565
3658
 
3566
3659
ac_ext=c
3567
3660
ac_cpp='$CPP $CPPFLAGS'
4333
4426
    : > sub/conftest.c
4334
4427
    for i in 1 2 3 4 5 6; do
4335
4428
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4336
 
      : > sub/conftst$i.h
 
4429
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4430
      # Solaris 8's {/usr,}/bin/sh.
 
4431
      touch sub/conftst$i.h
4337
4432
    done
4338
4433
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4339
4434
 
4361
4456
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4362
4457
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4363
4458
      # icc doesn't choke on unknown options, it will just issue warnings
4364
 
      # (even with -Werror).  So we grep stderr for any message
4365
 
      # that says an option was ignored.
4366
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
4459
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4460
      # that says an option was ignored or not supported.
 
4461
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4462
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4463
      # The diagnosis changed in icc 8.0:
 
4464
      #   icc: Command line remark: option '-MP' not supported
 
4465
      if (grep 'ignoring option' conftest.err ||
 
4466
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4367
4467
        am_cv_CC_dependencies_compiler_type=$depmode
4368
4468
        break
4369
4469
      fi
5400
5500
  ;;
5401
5501
*-*-irix6*)
5402
5502
  # Find out which ABI we are using.
5403
 
  echo '#line 5403 "configure"' > conftest.$ac_ext
 
5503
  echo '#line 5503 "configure"' > conftest.$ac_ext
5404
5504
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5405
5505
  (eval $ac_compile) 2>&5
5406
5506
  ac_status=$?
6180
6280
    : > sub/conftest.c
6181
6281
    for i in 1 2 3 4 5 6; do
6182
6282
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6183
 
      : > sub/conftst$i.h
 
6283
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
6284
      # Solaris 8's {/usr,}/bin/sh.
 
6285
      touch sub/conftst$i.h
6184
6286
    done
6185
6287
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6186
6288
 
6208
6310
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6209
6311
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6210
6312
      # icc doesn't choke on unknown options, it will just issue warnings
6211
 
      # (even with -Werror).  So we grep stderr for any message
6212
 
      # that says an option was ignored.
6213
 
      if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
 
6313
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6314
      # that says an option was ignored or not supported.
 
6315
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6316
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6317
      # The diagnosis changed in icc 8.0:
 
6318
      #   icc: Command line remark: option '-MP' not supported
 
6319
      if (grep 'ignoring option' conftest.err ||
 
6320
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6214
6321
        am_cv_CXX_dependencies_compiler_type=$depmode
6215
6322
        break
6216
6323
      fi
6571
6678
 
6572
6679
 
6573
6680
# Provide some information about the compiler.
6574
 
echo "$as_me:6574:" \
 
6681
echo "$as_me:6681:" \
6575
6682
     "checking for Fortran 77 compiler version" >&5
6576
6683
ac_compiler=`set X $ac_compile; echo $2`
6577
6684
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7669
7776
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7670
7777
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7671
7778
   -e 's:$: $lt_compiler_flag:'`
7672
 
   (eval echo "\"\$as_me:7672: $lt_compile\"" >&5)
 
7779
   (eval echo "\"\$as_me:7779: $lt_compile\"" >&5)
7673
7780
   (eval "$lt_compile" 2>conftest.err)
7674
7781
   ac_status=$?
7675
7782
   cat conftest.err >&5
7676
 
   echo "$as_me:7676: \$? = $ac_status" >&5
 
7783
   echo "$as_me:7783: \$? = $ac_status" >&5
7677
7784
   if (exit $ac_status) && test -s "$ac_outfile"; then
7678
7785
     # The compiler can only warn and ignore the option if not recognized
7679
7786
     # So say no if there are warnings other than the usual output.
7931
8038
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7932
8039
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7933
8040
   -e 's:$: $lt_compiler_flag:'`
7934
 
   (eval echo "\"\$as_me:7934: $lt_compile\"" >&5)
 
8041
   (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
7935
8042
   (eval "$lt_compile" 2>conftest.err)
7936
8043
   ac_status=$?
7937
8044
   cat conftest.err >&5
7938
 
   echo "$as_me:7938: \$? = $ac_status" >&5
 
8045
   echo "$as_me:8045: \$? = $ac_status" >&5
7939
8046
   if (exit $ac_status) && test -s "$ac_outfile"; then
7940
8047
     # The compiler can only warn and ignore the option if not recognized
7941
8048
     # So say no if there are warnings other than the usual output.
7993
8100
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
7994
8101
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7995
8102
   -e 's:$: $lt_compiler_flag:'`
7996
 
   (eval echo "\"\$as_me:7996: $lt_compile\"" >&5)
 
8103
   (eval echo "\"\$as_me:8103: $lt_compile\"" >&5)
7997
8104
   (eval "$lt_compile" 2>out/conftest.err)
7998
8105
   ac_status=$?
7999
8106
   cat out/conftest.err >&5
8000
 
   echo "$as_me:8000: \$? = $ac_status" >&5
 
8107
   echo "$as_me:8107: \$? = $ac_status" >&5
8001
8108
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8002
8109
   then
8003
8110
     # The compiler can only warn and ignore the option if not recognized
9379
9486
  libsuff=
9380
9487
  case "$host_cpu" in
9381
9488
  x86_64*|s390x*|powerpc64*)
9382
 
    echo '#line 9382 "configure"' > conftest.$ac_ext
 
9489
    echo '#line 9489 "configure"' > conftest.$ac_ext
9383
9490
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9384
9491
  (eval $ac_compile) 2>&5
9385
9492
  ac_status=$?
10254
10361
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10255
10362
  lt_status=$lt_dlunknown
10256
10363
  cat > conftest.$ac_ext <<EOF
10257
 
#line 10257 "configure"
 
10364
#line 10364 "configure"
10258
10365
#include "confdefs.h"
10259
10366
 
10260
10367
#if HAVE_DLFCN_H
10352
10459
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10353
10460
  lt_status=$lt_dlunknown
10354
10461
  cat > conftest.$ac_ext <<EOF
10355
 
#line 10355 "configure"
 
10462
#line 10462 "configure"
10356
10463
#include "confdefs.h"
10357
10464
 
10358
10465
#if HAVE_DLFCN_H
12600
12707
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12601
12708
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12602
12709
   -e 's:$: $lt_compiler_flag:'`
12603
 
   (eval echo "\"\$as_me:12603: $lt_compile\"" >&5)
 
12710
   (eval echo "\"\$as_me:12710: $lt_compile\"" >&5)
12604
12711
   (eval "$lt_compile" 2>conftest.err)
12605
12712
   ac_status=$?
12606
12713
   cat conftest.err >&5
12607
 
   echo "$as_me:12607: \$? = $ac_status" >&5
 
12714
   echo "$as_me:12714: \$? = $ac_status" >&5
12608
12715
   if (exit $ac_status) && test -s "$ac_outfile"; then
12609
12716
     # The compiler can only warn and ignore the option if not recognized
12610
12717
     # So say no if there are warnings other than the usual output.
12662
12769
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
12663
12770
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12664
12771
   -e 's:$: $lt_compiler_flag:'`
12665
 
   (eval echo "\"\$as_me:12665: $lt_compile\"" >&5)
 
12772
   (eval echo "\"\$as_me:12772: $lt_compile\"" >&5)
12666
12773
   (eval "$lt_compile" 2>out/conftest.err)
12667
12774
   ac_status=$?
12668
12775
   cat out/conftest.err >&5
12669
 
   echo "$as_me:12669: \$? = $ac_status" >&5
 
12776
   echo "$as_me:12776: \$? = $ac_status" >&5
12670
12777
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12671
12778
   then
12672
12779
     # The compiler can only warn and ignore the option if not recognized
13177
13284
  libsuff=
13178
13285
  case "$host_cpu" in
13179
13286
  x86_64*|s390x*|powerpc64*)
13180
 
    echo '#line 13180 "configure"' > conftest.$ac_ext
 
13287
    echo '#line 13287 "configure"' > conftest.$ac_ext
13181
13288
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13182
13289
  (eval $ac_compile) 2>&5
13183
13290
  ac_status=$?
14052
14159
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14053
14160
  lt_status=$lt_dlunknown
14054
14161
  cat > conftest.$ac_ext <<EOF
14055
 
#line 14055 "configure"
 
14162
#line 14162 "configure"
14056
14163
#include "confdefs.h"
14057
14164
 
14058
14165
#if HAVE_DLFCN_H
14150
14257
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14151
14258
  lt_status=$lt_dlunknown
14152
14259
  cat > conftest.$ac_ext <<EOF
14153
 
#line 14153 "configure"
 
14260
#line 14260 "configure"
14154
14261
#include "confdefs.h"
14155
14262
 
14156
14263
#if HAVE_DLFCN_H
15035
15142
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15036
15143
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15037
15144
   -e 's:$: $lt_compiler_flag:'`
15038
 
   (eval echo "\"\$as_me:15038: $lt_compile\"" >&5)
 
15145
   (eval echo "\"\$as_me:15145: $lt_compile\"" >&5)
15039
15146
   (eval "$lt_compile" 2>conftest.err)
15040
15147
   ac_status=$?
15041
15148
   cat conftest.err >&5
15042
 
   echo "$as_me:15042: \$? = $ac_status" >&5
 
15149
   echo "$as_me:15149: \$? = $ac_status" >&5
15043
15150
   if (exit $ac_status) && test -s "$ac_outfile"; then
15044
15151
     # The compiler can only warn and ignore the option if not recognized
15045
15152
     # So say no if there are warnings other than the usual output.
15097
15204
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15098
15205
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15099
15206
   -e 's:$: $lt_compiler_flag:'`
15100
 
   (eval echo "\"\$as_me:15100: $lt_compile\"" >&5)
 
15207
   (eval echo "\"\$as_me:15207: $lt_compile\"" >&5)
15101
15208
   (eval "$lt_compile" 2>out/conftest.err)
15102
15209
   ac_status=$?
15103
15210
   cat out/conftest.err >&5
15104
 
   echo "$as_me:15104: \$? = $ac_status" >&5
 
15211
   echo "$as_me:15211: \$? = $ac_status" >&5
15105
15212
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15106
15213
   then
15107
15214
     # The compiler can only warn and ignore the option if not recognized
16463
16570
  libsuff=
16464
16571
  case "$host_cpu" in
16465
16572
  x86_64*|s390x*|powerpc64*)
16466
 
    echo '#line 16466 "configure"' > conftest.$ac_ext
 
16573
    echo '#line 16573 "configure"' > conftest.$ac_ext
16467
16574
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16468
16575
  (eval $ac_compile) 2>&5
16469
16576
  ac_status=$?
17240
17347
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17241
17348
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17242
17349
   -e 's:$: $lt_compiler_flag:'`
17243
 
   (eval echo "\"\$as_me:17243: $lt_compile\"" >&5)
 
17350
   (eval echo "\"\$as_me:17350: $lt_compile\"" >&5)
17244
17351
   (eval "$lt_compile" 2>conftest.err)
17245
17352
   ac_status=$?
17246
17353
   cat conftest.err >&5
17247
 
   echo "$as_me:17247: \$? = $ac_status" >&5
 
17354
   echo "$as_me:17354: \$? = $ac_status" >&5
17248
17355
   if (exit $ac_status) && test -s "$ac_outfile"; then
17249
17356
     # The compiler can only warn and ignore the option if not recognized
17250
17357
     # So say no if there are warnings other than the usual output.
17502
17609
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17503
17610
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17504
17611
   -e 's:$: $lt_compiler_flag:'`
17505
 
   (eval echo "\"\$as_me:17505: $lt_compile\"" >&5)
 
17612
   (eval echo "\"\$as_me:17612: $lt_compile\"" >&5)
17506
17613
   (eval "$lt_compile" 2>conftest.err)
17507
17614
   ac_status=$?
17508
17615
   cat conftest.err >&5
17509
 
   echo "$as_me:17509: \$? = $ac_status" >&5
 
17616
   echo "$as_me:17616: \$? = $ac_status" >&5
17510
17617
   if (exit $ac_status) && test -s "$ac_outfile"; then
17511
17618
     # The compiler can only warn and ignore the option if not recognized
17512
17619
     # So say no if there are warnings other than the usual output.
17564
17671
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
17565
17672
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17566
17673
   -e 's:$: $lt_compiler_flag:'`
17567
 
   (eval echo "\"\$as_me:17567: $lt_compile\"" >&5)
 
17674
   (eval echo "\"\$as_me:17674: $lt_compile\"" >&5)
17568
17675
   (eval "$lt_compile" 2>out/conftest.err)
17569
17676
   ac_status=$?
17570
17677
   cat out/conftest.err >&5
17571
 
   echo "$as_me:17571: \$? = $ac_status" >&5
 
17678
   echo "$as_me:17678: \$? = $ac_status" >&5
17572
17679
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17573
17680
   then
17574
17681
     # The compiler can only warn and ignore the option if not recognized
18950
19057
  libsuff=
18951
19058
  case "$host_cpu" in
18952
19059
  x86_64*|s390x*|powerpc64*)
18953
 
    echo '#line 18953 "configure"' > conftest.$ac_ext
 
19060
    echo '#line 19060 "configure"' > conftest.$ac_ext
18954
19061
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18955
19062
  (eval $ac_compile) 2>&5
18956
19063
  ac_status=$?
19825
19932
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19826
19933
  lt_status=$lt_dlunknown
19827
19934
  cat > conftest.$ac_ext <<EOF
19828
 
#line 19828 "configure"
 
19935
#line 19935 "configure"
19829
19936
#include "confdefs.h"
19830
19937
 
19831
19938
#if HAVE_DLFCN_H
19923
20030
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
19924
20031
  lt_status=$lt_dlunknown
19925
20032
  cat > conftest.$ac_ext <<EOF
19926
 
#line 19926 "configure"
 
20033
#line 20033 "configure"
19927
20034
#include "confdefs.h"
19928
20035
 
19929
20036
#if HAVE_DLFCN_H
21154
21261
_ACEOF
21155
21262
 
21156
21263
 
21157
 
ALL_LINGUAS="bg cs de en_CA en_GB es fi fr it ja lt nb no pt_BR sv uk zh_CN zh_TW"
 
21264
ALL_LINGUAS="bg cs de en_CA en_GB es fi fr gl gu hu it ja lt nb nl no pa pt_BR sk sv th uk vi zh_CN zh_TW"
21158
21265
 
21159
21266
 
21160
21267
for ac_header in locale.h
22727
22834
# Dependencies
22728
22835
 
22729
22836
DBUS_REQUIRED_VERSION=0.30
22730
 
LIBXML_REQUIRED_VERSION=2.6.0
22731
22837
GCONF_REQUIRED_VERSION=2.6.1
22732
22838
GDK_REQUIRED_VERSION=2.7.0
22733
22839
GTK_REQUIRED_VERSION=2.7.0
22736
22842
GLADE_REQUIRED_VERSION=2.5.0
22737
22843
LIBGNOME_MENU_REQUIRED_VERSION=2.11.1
22738
22844
LIBEXIF_REQUIRED_VERSION=0.6.12
 
22845
GLIB_REQUIRED_VERSION=2.7.0
22739
22846
 
22740
22847
 
22741
22848
for ac_header in unistd.h
23472
23579
if test -n "$PKG_CONFIG"; then
23473
23580
        if test -n "$PKG_CONFIG" && \
23474
23581
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
23475
 
        libxml-2.0 >= \$LIBXML_REQUIRED_VERSION
23476
23582
        dbus-glib-1 >= \$DBUS_REQUIRED_VERSION
23477
23583
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
23478
23584
        libgnome-menu >= \$LIBGNOME_MENU_REQUIRED_VERSION\"") >&5
23479
23585
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
23480
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23481
23586
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23482
23587
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23483
23588
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION") 2>&5
23485
23590
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486
23591
  (exit $ac_status); }; then
23487
23592
  pkg_cv_GNOME_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
23488
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23489
23593
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23490
23594
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23491
23595
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION" 2>/dev/null`
23498
23602
if test -n "$PKG_CONFIG"; then
23499
23603
        if test -n "$PKG_CONFIG" && \
23500
23604
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
23501
 
        libxml-2.0 >= \$LIBXML_REQUIRED_VERSION
23502
23605
        dbus-glib-1 >= \$DBUS_REQUIRED_VERSION
23503
23606
        gconf-2.0 >= \$GCONF_REQUIRED_VERSION
23504
23607
        libgnome-menu >= \$LIBGNOME_MENU_REQUIRED_VERSION\"") >&5
23505
23608
  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
23506
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23507
23609
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23508
23610
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23509
23611
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION") 2>&5
23511
23613
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512
23614
  (exit $ac_status); }; then
23513
23615
  pkg_cv_GNOME_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
23514
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23515
23616
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23516
23617
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23517
23618
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION" 2>/dev/null`
23524
23625
 
23525
23626
if test $pkg_failed = yes; then
23526
23627
        GNOME_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
23527
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23528
23628
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23529
23629
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23530
23630
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION"`
23532
23632
        echo "$GNOME_SCREENSAVER_PKG_ERRORS" 1>&5
23533
23633
 
23534
23634
        { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
23535
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23536
23635
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23537
23636
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23538
23637
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION) were not met.
23543
23642
to avoid the need to call pkg-config.  See the pkg-config man page for
23544
23643
more details." >&5
23545
23644
echo "$as_me: error: Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
23546
 
        libxml-2.0 >= $LIBXML_REQUIRED_VERSION
23547
23645
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION
23548
23646
        gconf-2.0 >= $GCONF_REQUIRED_VERSION
23549
23647
        libgnome-menu >= $LIBGNOME_MENU_REQUIRED_VERSION) were not met.
23792
23890
 
23793
23891
if test -n "$PKG_CONFIG"; then
23794
23892
        if test -n "$PKG_CONFIG" && \
23795
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_REQUIRED_VERSION\"") >&5
23796
 
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_REQUIRED_VERSION") 2>&5
 
23893
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
23894
        dbus-glib-1 >= \$DBUS_REQUIRED_VERSION\"") >&5
 
23895
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23896
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION") 2>&5
23797
23897
  ac_status=$?
23798
23898
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23799
23899
  (exit $ac_status); }; then
23800
 
  pkg_cv_GNOME_SCREENSAVER_COMMAND_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
 
23900
  pkg_cv_GNOME_SCREENSAVER_COMMAND_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23901
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
23801
23902
else
23802
23903
  pkg_failed=yes
23803
23904
fi
23806
23907
fi
23807
23908
if test -n "$PKG_CONFIG"; then
23808
23909
        if test -n "$PKG_CONFIG" && \
23809
 
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= \$DBUS_REQUIRED_VERSION\"") >&5
23810
 
  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= $DBUS_REQUIRED_VERSION") 2>&5
 
23910
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GLIB_REQUIRED_VERSION
 
23911
        dbus-glib-1 >= \$DBUS_REQUIRED_VERSION\"") >&5
 
23912
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23913
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION") 2>&5
23811
23914
  ac_status=$?
23812
23915
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813
23916
  (exit $ac_status); }; then
23814
 
  pkg_cv_GNOME_SCREENSAVER_COMMAND_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
 
23917
  pkg_cv_GNOME_SCREENSAVER_COMMAND_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23918
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION" 2>/dev/null`
23815
23919
else
23816
23920
  pkg_failed=yes
23817
23921
fi
23820
23924
fi
23821
23925
 
23822
23926
if test $pkg_failed = yes; then
23823
 
        GNOME_SCREENSAVER_COMMAND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= $DBUS_REQUIRED_VERSION"`
 
23927
        GNOME_SCREENSAVER_COMMAND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23928
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION"`
23824
23929
        # Put the nasty error message in config.log where it belongs
23825
23930
        echo "$GNOME_SCREENSAVER_COMMAND_PKG_ERRORS" 1>&5
23826
23931
 
23827
 
        { { echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= $DBUS_REQUIRED_VERSION) were not met.
 
23932
        { { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23933
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION) were not met.
23828
23934
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23829
23935
installed software in a non-standard prefix.
23830
23936
 
23831
23937
Alternatively you may set the GNOME_SCREENSAVER_COMMAND_CFLAGS and GNOME_SCREENSAVER_COMMAND_LIBS environment variables
23832
23938
to avoid the need to call pkg-config.  See the pkg-config man page for
23833
23939
more details." >&5
23834
 
echo "$as_me: error: Package requirements (dbus-glib-1 >= $DBUS_REQUIRED_VERSION) were not met.
 
23940
echo "$as_me: error: Package requirements (gobject-2.0 >= $GLIB_REQUIRED_VERSION
 
23941
        dbus-glib-1 >= $DBUS_REQUIRED_VERSION) were not met.
23835
23942
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23836
23943
installed software in a non-standard prefix.
23837
23944
 
25259
25366
 
25260
25367
fi
25261
25368
 
 
25369
 
 
25370
ALL_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
 
25371
SAVER_LIBS="$ALL_X_LIBS"
 
25372
 
25262
25373
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
25263
25374
set dummy glib-genmarshal; ac_word=$2
25264
25375
echo "$as_me:$LINENO: checking for $ac_word" >&5
25374
25485
  # Check whether --enable-schemas-install or --disable-schemas-install was given.
25375
25486
if test "${enable_schemas_install+set}" = set; then
25376
25487
  enableval="$enable_schemas_install"
25377
 
  case "${enableval}" in
25378
 
       yes) schemas_install=true ;;
25379
 
       no)  schemas_install=false ;;
 
25488
  case ${enableval} in
 
25489
       yes|no) ;;
25380
25490
       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5
25381
25491
echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;}
25382
25492
   { (exit 1); exit 1; }; } ;;
25383
 
     esac
25384
 
else
25385
 
  schemas_install=true
 
25493
      esac
25386
25494
fi;
25387
25495
 
25388
25496
 
25389
 
if test x$schemas_install = xtrue; then
 
25497
if test "$enable_schemas_install" != no; then
25390
25498
  GCONF_SCHEMAS_INSTALL_TRUE=
25391
25499
  GCONF_SCHEMAS_INSTALL_FALSE='#'
25392
25500
else
25533
25641
 
25534
25642
 
25535
25643
 
 
25644
# Solaris requires libresolv for daemon()
 
25645
echo "$as_me:$LINENO: checking for daemon in -lresolv" >&5
 
25646
echo $ECHO_N "checking for daemon in -lresolv... $ECHO_C" >&6
 
25647
if test "${ac_cv_lib_resolv_daemon+set}" = set; then
 
25648
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
25649
else
 
25650
  ac_check_lib_save_LIBS=$LIBS
 
25651
LIBS="-lresolv  $LIBS"
 
25652
cat >conftest.$ac_ext <<_ACEOF
 
25653
/* confdefs.h.  */
 
25654
_ACEOF
 
25655
cat confdefs.h >>conftest.$ac_ext
 
25656
cat >>conftest.$ac_ext <<_ACEOF
 
25657
/* end confdefs.h.  */
 
25658
 
 
25659
/* Override any gcc2 internal prototype to avoid an error.  */
 
25660
#ifdef __cplusplus
 
25661
extern "C"
 
25662
#endif
 
25663
/* We use char because int might match the return type of a gcc2
 
25664
   builtin and then its argument prototype would still apply.  */
 
25665
char daemon ();
 
25666
int
 
25667
main ()
 
25668
{
 
25669
daemon ();
 
25670
  ;
 
25671
  return 0;
 
25672
}
 
25673
_ACEOF
 
25674
rm -f conftest.$ac_objext conftest$ac_exeext
 
25675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
25676
  (eval $ac_link) 2>conftest.er1
 
25677
  ac_status=$?
 
25678
  grep -v '^ *+' conftest.er1 >conftest.err
 
25679
  rm -f conftest.er1
 
25680
  cat conftest.err >&5
 
25681
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25682
  (exit $ac_status); } &&
 
25683
         { ac_try='test -z "$ac_c_werror_flag"
 
25684
                         || test ! -s conftest.err'
 
25685
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25686
  (eval $ac_try) 2>&5
 
25687
  ac_status=$?
 
25688
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25689
  (exit $ac_status); }; } &&
 
25690
         { ac_try='test -s conftest$ac_exeext'
 
25691
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
25692
  (eval $ac_try) 2>&5
 
25693
  ac_status=$?
 
25694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
25695
  (exit $ac_status); }; }; then
 
25696
  ac_cv_lib_resolv_daemon=yes
 
25697
else
 
25698
  echo "$as_me: failed program was:" >&5
 
25699
sed 's/^/| /' conftest.$ac_ext >&5
 
25700
 
 
25701
ac_cv_lib_resolv_daemon=no
 
25702
fi
 
25703
rm -f conftest.err conftest.$ac_objext \
 
25704
      conftest$ac_exeext conftest.$ac_ext
 
25705
LIBS=$ac_check_lib_save_LIBS
 
25706
fi
 
25707
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_daemon" >&5
 
25708
echo "${ECHO_T}$ac_cv_lib_resolv_daemon" >&6
 
25709
if test $ac_cv_lib_resolv_daemon = yes; then
 
25710
  GNOME_SCREENSAVER_LIBS="$GNOME_SCREENSAVER_LIBS -lresolv"
 
25711
fi
 
25712
 
 
25713
 
25536
25714
# Optional dependencies for the theme engines
25537
25715
 
25538
25716
SAVER_MODULES="gthread-2.0 gtk+-2.0 >= $GTK_REQUIRED_VERSION"
25999
26177
 
26000
26178
###############################################################################
26001
26179
#
26002
 
#       Functions to check for various X11 things
26003
 
#
26004
 
###############################################################################
26005
 
 
26006
 
 
26007
 
 
26008
 
 
26009
 
# Random special-cases for X on certain pathological OSes.
26010
 
 
26011
 
 
26012
 
 
26013
 
 
26014
 
###############################################################################
26015
 
#
26016
26180
#       Some utility functions to make checking for X things easier.
26017
26181
#
26018
26182
###############################################################################
26021
26185
#
26022
26186
 
26023
26187
 
26024
 
# Like AC_EGREP_HEADER, but it uses the already-computed -I directories.
26025
 
#
26026
 
 
26027
 
 
26028
26188
# Like AC_TRY_COMPILE, but it uses the already-computed -I directories.
26029
26189
#
26030
26190
 
26035
26195
#
26036
26196
 
26037
26197
 
26038
 
# Like AC_TRY_RUN, but it uses the already-computed -I directories.
26039
 
# (But not the -L directories!)
26040
 
#
26041
 
 
26042
 
 
26043
 
 
26044
26198
 
26045
26199
# Usage: HANDLE_X_PATH_ARG([variable_name],
26046
26200
#                          [--command-line-option],
26123
26277
 
26124
26278
 
26125
26279
if test "$with_sgi" = yes; then
26126
 
 
26127
 
  ac_save_CPPFLAGS="$CPPFLAGS"
26128
 
  if test \! -z "$includedir" ; then
26129
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
26130
 
  fi
26131
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
26132
 
  echo "$as_me:$LINENO: checking for X11/extensions/XScreenSaver.h" >&5
 
26280
        echo "$as_me:$LINENO: checking for X11/extensions/XScreenSaver.h" >&5
26133
26281
echo $ECHO_N "checking for X11/extensions/XScreenSaver.h... $ECHO_C" >&6
26134
26282
if test "${ac_cv_header_X11_extensions_XScreenSaver_h+set}" = set; then
26135
26283
  echo $ECHO_N "(cached) $ECHO_C" >&6
26187
26335
fi
26188
26336
 
26189
26337
 
26190
 
  CPPFLAGS="$ac_save_CPPFLAGS"
26191
26338
 
26192
26339
elif test "$with_sgi" != no; then
26193
26340
  echo "error: must be yes or no: --with-sgi-ext=$with_sgi"
26320
26467
  CPPFLAGS="$ac_save_CPPFLAGS"
26321
26468
 
26322
26469
  # Now check to see if it's really in the library; XF86Free-3.3 ships
26323
 
  # scrnsaver.h, but doesn't include the code in libXext.a, the idiots!
26324
 
  #
 
26470
  # scrnsaver.h, but doesn't include the code in libXext.a
26325
26471
  if test "$have_mit" = yes; then
26326
26472
 
26327
26473
  ac_save_CPPFLAGS="$CPPFLAGS"
26338
26484
    LDFLAGS="$LDFLAGS -L$libdir"
26339
26485
  fi
26340
26486
  # note: $X_LIBS includes $x_libraries
26341
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
26487
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
26342
26488
 
26343
26489
  echo "$as_me:$LINENO: checking for XScreenSaverRegister in -lXext" >&5
26344
26490
echo $ECHO_N "checking for XScreenSaverRegister in -lXext... $ECHO_C" >&6
26416
26562
 
26417
26563
 
26418
26564
    if test "$have_mit" = no; then
26419
 
      # Fuck!  Looks like XF86Free-3.3 actually puts it in XExExt instead
26420
 
      # of in Xext.  Thank you master, may I have another.
 
26565
      # Looks like XF86Free-3.3 actually puts it in XExExt instead
 
26566
      # of in Xext.
26421
26567
 
26422
26568
  ac_save_CPPFLAGS="$CPPFLAGS"
26423
26569
  ac_save_LDFLAGS="$LDFLAGS"
26433
26579
    LDFLAGS="$LDFLAGS -L$libdir"
26434
26580
  fi
26435
26581
  # note: $X_LIBS includes $x_libraries
26436
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
26582
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
26437
26583
 
26438
26584
  echo "$as_me:$LINENO: checking for XScreenSaverRegister in -lXExExt" >&5
26439
26585
echo $ECHO_N "checking for XScreenSaverRegister in -lXExExt... $ECHO_C" >&6
26512
26658
    fi
26513
26659
 
26514
26660
    if test "$have_mit" = no; then
26515
 
      # Double fuck!  Looks like some versions of XFree86 (whichever version
 
26661
      # Looks like some versions of XFree86 (whichever version
26516
26662
      # it is that comes with RedHat Linux 2.0 -- I can't find a version
26517
 
      # number) put this garbage in Xss instead of Xext.  Thank you master,
26518
 
      #  may I have another.
 
26663
      # number) put this in Xss instead of Xext.
26519
26664
 
26520
26665
  ac_save_CPPFLAGS="$CPPFLAGS"
26521
26666
  ac_save_LDFLAGS="$LDFLAGS"
26531
26676
    LDFLAGS="$LDFLAGS -L$libdir"
26532
26677
  fi
26533
26678
  # note: $X_LIBS includes $x_libraries
26534
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
26679
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
26535
26680
 
26536
26681
  echo "$as_me:$LINENO: checking for XScreenSaverRegister in -lXss" >&5
26537
26682
echo $ECHO_N "checking for XScreenSaverRegister in -lXss... $ECHO_C" >&6
26903
27048
    LDFLAGS="$LDFLAGS -L$libdir"
26904
27049
  fi
26905
27050
  # note: $X_LIBS includes $x_libraries
26906
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
27051
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
26907
27052
 
26908
27053
  echo "$as_me:$LINENO: checking for XSGIvcQueryGammaMap in -lXsgivc" >&5
26909
27054
echo $ECHO_N "checking for XSGIvcQueryGammaMap in -lXsgivc... $ECHO_C" >&6
27143
27288
    LDFLAGS="$LDFLAGS -L$libdir"
27144
27289
  fi
27145
27290
  # note: $X_LIBS includes $x_libraries
27146
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
27291
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
27147
27292
 
27148
27293
  echo "$as_me:$LINENO: checking for DPMSInfo in -lXext" >&5
27149
27294
echo $ECHO_N "checking for DPMSInfo in -lXext... $ECHO_C" >&6
27237
27382
    LDFLAGS="$LDFLAGS -L$libdir"
27238
27383
  fi
27239
27384
  # note: $X_LIBS includes $x_libraries
27240
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
27385
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
27241
27386
 
27242
27387
  echo "$as_me:$LINENO: checking for DPMSInfo in -lXdpms" >&5
27243
27388
echo $ECHO_N "checking for DPMSInfo in -lXdpms... $ECHO_C" >&6
27338
27483
#
27339
27484
###############################################################################
27340
27485
 
27341
 
have_xinerama=no
27342
 
with_xinerama_req=unspecified
 
27486
# Check for Xinerama extension (Solaris impl or Xfree impl)
27343
27487
 
27344
 
# Check whether --with-xinerama-ext or --without-xinerama-ext was given.
27345
 
if test "${with_xinerama_ext+set}" = set; then
27346
 
  withval="$with_xinerama_ext"
27347
 
  with_xinerama="$withval"; with_xinerama_req="$withval"
 
27488
# Check whether --enable-xinerama or --disable-xinerama was given.
 
27489
if test "${enable_xinerama+set}" = set; then
 
27490
  enableval="$enable_xinerama"
 
27491
  try_xinerama=$enable_xinerama
27348
27492
else
27349
 
  with_xinerama=yes
 
27493
  try_xinerama=yes
27350
27494
fi;
27351
27495
 
27352
 
 
27353
 
   case "$with_xinerama" in
27354
 
    yes) ;;
27355
 
    no)  ;;
27356
 
 
27357
 
    /*)
27358
 
     echo "$as_me:$LINENO: checking for XINERAMA headers" >&5
27359
 
echo $ECHO_N "checking for XINERAMA headers... $ECHO_C" >&6
27360
 
     d=$with_xinerama/include
27361
 
     if test -d $d; then
27362
 
       X_CFLAGS="-I$d $X_CFLAGS"
27363
 
       echo "$as_me:$LINENO: result: $d" >&5
27364
 
echo "${ECHO_T}$d" >&6
27365
 
     else
27366
 
       echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
27367
 
echo "${ECHO_T}not found ($d: no such directory)" >&6
27368
 
     fi
27369
 
 
27370
 
     echo "$as_me:$LINENO: checking for XINERAMA libs" >&5
27371
 
echo $ECHO_N "checking for XINERAMA libs... $ECHO_C" >&6
27372
 
     d=$with_xinerama/lib
27373
 
     if test -d $d; then
27374
 
       X_LIBS="-L$d $X_LIBS"
27375
 
       echo "$as_me:$LINENO: result: $d" >&5
27376
 
echo "${ECHO_T}$d" >&6
27377
 
     else
27378
 
       echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
27379
 
echo "${ECHO_T}not found ($d: no such directory)" >&6
27380
 
     fi
27381
 
 
27382
 
     # replace the directory string with "yes".
27383
 
     with_xinerama_req="yes"
27384
 
     with_xinerama=$with_xinerama_req
27385
 
     ;;
27386
 
 
27387
 
    *)
27388
 
     echo ""
27389
 
     echo "error: argument to --with-xinerama-ext must be \"yes\", \"no\", or a directory."
27390
 
     echo "       If it is a directory, then \`DIR/include' will be added to"
27391
 
     echo "       the -I list, and \`DIR/lib' will be added to the -L list."
27392
 
     exit 1
27393
 
     ;;
27394
 
   esac
27395
 
 
27396
 
 
27397
 
if test "$with_xinerama" = yes; then
27398
 
 
27399
 
  # first check for Xinerama.h
 
27496
use_solaris_xinerama=no
 
27497
use_xfree_xinerama=no
 
27498
if test "${try_xinerama}" != no; then
 
27499
    case "$host" in
 
27500
        *-*-solaris*)
 
27501
            # Check for solaris
 
27502
            use_solaris_xinerama=yes
 
27503
 
 
27504
  ac_save_CPPFLAGS="$CPPFLAGS"
 
27505
  ac_save_LDFLAGS="$LDFLAGS"
 
27506
#  ac_save_LIBS="$LIBS"
 
27507
 
 
27508
  if test \! -z "$includedir" ; then
 
27509
    CPPFLAGS="$CPPFLAGS -I$includedir"
 
27510
  fi
 
27511
  # note: $X_CFLAGS includes $x_includes
 
27512
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
27513
 
 
27514
  if test \! -z "$libdir" ; then
 
27515
    LDFLAGS="$LDFLAGS -L$libdir"
 
27516
  fi
 
27517
  # note: $X_LIBS includes $x_libraries
 
27518
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
 
27519
 
 
27520
  echo "$as_me:$LINENO: checking for XineramaGetInfo in -lXext" >&5
 
27521
echo $ECHO_N "checking for XineramaGetInfo in -lXext... $ECHO_C" >&6
 
27522
if test "${ac_cv_lib_Xext_XineramaGetInfo+set}" = set; then
 
27523
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27524
else
 
27525
  ac_check_lib_save_LIBS=$LIBS
 
27526
LIBS="-lXext $ALL_X_LIBS $LIBS"
 
27527
cat >conftest.$ac_ext <<_ACEOF
 
27528
/* confdefs.h.  */
 
27529
_ACEOF
 
27530
cat confdefs.h >>conftest.$ac_ext
 
27531
cat >>conftest.$ac_ext <<_ACEOF
 
27532
/* end confdefs.h.  */
 
27533
 
 
27534
/* Override any gcc2 internal prototype to avoid an error.  */
 
27535
#ifdef __cplusplus
 
27536
extern "C"
 
27537
#endif
 
27538
/* We use char because int might match the return type of a gcc2
 
27539
   builtin and then its argument prototype would still apply.  */
 
27540
char XineramaGetInfo ();
 
27541
int
 
27542
main ()
 
27543
{
 
27544
XineramaGetInfo ();
 
27545
  ;
 
27546
  return 0;
 
27547
}
 
27548
_ACEOF
 
27549
rm -f conftest.$ac_objext conftest$ac_exeext
 
27550
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27551
  (eval $ac_link) 2>conftest.er1
 
27552
  ac_status=$?
 
27553
  grep -v '^ *+' conftest.er1 >conftest.err
 
27554
  rm -f conftest.er1
 
27555
  cat conftest.err >&5
 
27556
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27557
  (exit $ac_status); } &&
 
27558
         { ac_try='test -z "$ac_c_werror_flag"
 
27559
                         || test ! -s conftest.err'
 
27560
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27561
  (eval $ac_try) 2>&5
 
27562
  ac_status=$?
 
27563
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27564
  (exit $ac_status); }; } &&
 
27565
         { ac_try='test -s conftest$ac_exeext'
 
27566
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27567
  (eval $ac_try) 2>&5
 
27568
  ac_status=$?
 
27569
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27570
  (exit $ac_status); }; }; then
 
27571
  ac_cv_lib_Xext_XineramaGetInfo=yes
 
27572
else
 
27573
  echo "$as_me: failed program was:" >&5
 
27574
sed 's/^/| /' conftest.$ac_ext >&5
 
27575
 
 
27576
ac_cv_lib_Xext_XineramaGetInfo=no
 
27577
fi
 
27578
rm -f conftest.err conftest.$ac_objext \
 
27579
      conftest$ac_exeext conftest.$ac_ext
 
27580
LIBS=$ac_check_lib_save_LIBS
 
27581
fi
 
27582
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XineramaGetInfo" >&5
 
27583
echo "${ECHO_T}$ac_cv_lib_Xext_XineramaGetInfo" >&6
 
27584
if test $ac_cv_lib_Xext_XineramaGetInfo = yes; then
 
27585
  use_solaris_xinerama=yes
 
27586
else
 
27587
  use_solaris_xinerama=no
 
27588
fi
 
27589
 
 
27590
  CPPFLAGS="$ac_save_CPPFLAGS"
 
27591
  LDFLAGS="$ac_save_LDFLAGS"
 
27592
#  LIBS="$ac_save_LIBS"
 
27593
 
 
27594
            if test "x$use_solaris_xinerama" = "xyes"; then
 
27595
 
 
27596
  ac_save_CPPFLAGS="$CPPFLAGS"
 
27597
  if test \! -z "$includedir" ; then
 
27598
    CPPFLAGS="$CPPFLAGS -I$includedir"
 
27599
  fi
 
27600
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
27601
  echo "$as_me:$LINENO: checking for X11/extensions/xinerama.h" >&5
 
27602
echo $ECHO_N "checking for X11/extensions/xinerama.h... $ECHO_C" >&6
 
27603
if test "${ac_cv_header_X11_extensions_xinerama_h+set}" = set; then
 
27604
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27605
else
 
27606
  cat >conftest.$ac_ext <<_ACEOF
 
27607
/* confdefs.h.  */
 
27608
_ACEOF
 
27609
cat confdefs.h >>conftest.$ac_ext
 
27610
cat >>conftest.$ac_ext <<_ACEOF
 
27611
/* end confdefs.h.  */
 
27612
#include <X11/Xlib.h>
 
27613
 
 
27614
#include <X11/extensions/xinerama.h>
 
27615
_ACEOF
 
27616
rm -f conftest.$ac_objext
 
27617
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
27618
  (eval $ac_compile) 2>conftest.er1
 
27619
  ac_status=$?
 
27620
  grep -v '^ *+' conftest.er1 >conftest.err
 
27621
  rm -f conftest.er1
 
27622
  cat conftest.err >&5
 
27623
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27624
  (exit $ac_status); } &&
 
27625
         { ac_try='test -z "$ac_c_werror_flag"
 
27626
                         || test ! -s conftest.err'
 
27627
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27628
  (eval $ac_try) 2>&5
 
27629
  ac_status=$?
 
27630
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27631
  (exit $ac_status); }; } &&
 
27632
         { ac_try='test -s conftest.$ac_objext'
 
27633
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27634
  (eval $ac_try) 2>&5
 
27635
  ac_status=$?
 
27636
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27637
  (exit $ac_status); }; }; then
 
27638
  ac_cv_header_X11_extensions_xinerama_h=yes
 
27639
else
 
27640
  echo "$as_me: failed program was:" >&5
 
27641
sed 's/^/| /' conftest.$ac_ext >&5
 
27642
 
 
27643
ac_cv_header_X11_extensions_xinerama_h=no
 
27644
fi
 
27645
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
27646
fi
 
27647
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xinerama_h" >&5
 
27648
echo "${ECHO_T}$ac_cv_header_X11_extensions_xinerama_h" >&6
 
27649
if test $ac_cv_header_X11_extensions_xinerama_h = yes; then
 
27650
  if test -z "`echo $ALL_X_LIBS | grep "\-lXext" 2> /dev/null`"; then
 
27651
                                      SAVER_LIBS="$SAVER_LIBS -lXext"
 
27652
                                  fi
 
27653
 
 
27654
cat >>confdefs.h <<\_ACEOF
 
27655
#define HAVE_SOLARIS_XINERAMA
 
27656
_ACEOF
 
27657
 
 
27658
 
 
27659
cat >>confdefs.h <<\_ACEOF
 
27660
#define HAVE_XINERAMA
 
27661
_ACEOF
 
27662
 
 
27663
else
 
27664
  use_solaris_xinerama=no
 
27665
fi
 
27666
 
 
27667
 
 
27668
  CPPFLAGS="$ac_save_CPPFLAGS"
 
27669
            fi
 
27670
            echo "$as_me:$LINENO: checking for Xinerama support on Solaris" >&5
 
27671
echo $ECHO_N "checking for Xinerama support on Solaris... $ECHO_C" >&6
 
27672
            echo "$as_me:$LINENO: result: $use_solaris_xinerama" >&5
 
27673
echo "${ECHO_T}$use_solaris_xinerama" >&6;
 
27674
            ;;
 
27675
        *)
 
27676
            # Check for XFree
 
27677
            use_xfree_xinerama=yes
 
27678
 
 
27679
  ac_save_CPPFLAGS="$CPPFLAGS"
 
27680
  ac_save_LDFLAGS="$LDFLAGS"
 
27681
#  ac_save_LIBS="$LIBS"
 
27682
 
 
27683
  if test \! -z "$includedir" ; then
 
27684
    CPPFLAGS="$CPPFLAGS -I$includedir"
 
27685
  fi
 
27686
  # note: $X_CFLAGS includes $x_includes
 
27687
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
27688
 
 
27689
  if test \! -z "$libdir" ; then
 
27690
    LDFLAGS="$LDFLAGS -L$libdir"
 
27691
  fi
 
27692
  # note: $X_LIBS includes $x_libraries
 
27693
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
 
27694
 
 
27695
  echo "$as_me:$LINENO: checking for XineramaQueryExtension in -lXinerama" >&5
 
27696
echo $ECHO_N "checking for XineramaQueryExtension in -lXinerama... $ECHO_C" >&6
 
27697
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then
 
27698
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
27699
else
 
27700
  ac_check_lib_save_LIBS=$LIBS
 
27701
LIBS="-lXinerama -lXext $ALL_X_LIBS $LIBS"
 
27702
cat >conftest.$ac_ext <<_ACEOF
 
27703
/* confdefs.h.  */
 
27704
_ACEOF
 
27705
cat confdefs.h >>conftest.$ac_ext
 
27706
cat >>conftest.$ac_ext <<_ACEOF
 
27707
/* end confdefs.h.  */
 
27708
 
 
27709
/* Override any gcc2 internal prototype to avoid an error.  */
 
27710
#ifdef __cplusplus
 
27711
extern "C"
 
27712
#endif
 
27713
/* We use char because int might match the return type of a gcc2
 
27714
   builtin and then its argument prototype would still apply.  */
 
27715
char XineramaQueryExtension ();
 
27716
int
 
27717
main ()
 
27718
{
 
27719
XineramaQueryExtension ();
 
27720
  ;
 
27721
  return 0;
 
27722
}
 
27723
_ACEOF
 
27724
rm -f conftest.$ac_objext conftest$ac_exeext
 
27725
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
27726
  (eval $ac_link) 2>conftest.er1
 
27727
  ac_status=$?
 
27728
  grep -v '^ *+' conftest.er1 >conftest.err
 
27729
  rm -f conftest.er1
 
27730
  cat conftest.err >&5
 
27731
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27732
  (exit $ac_status); } &&
 
27733
         { ac_try='test -z "$ac_c_werror_flag"
 
27734
                         || test ! -s conftest.err'
 
27735
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27736
  (eval $ac_try) 2>&5
 
27737
  ac_status=$?
 
27738
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27739
  (exit $ac_status); }; } &&
 
27740
         { ac_try='test -s conftest$ac_exeext'
 
27741
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
27742
  (eval $ac_try) 2>&5
 
27743
  ac_status=$?
 
27744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
27745
  (exit $ac_status); }; }; then
 
27746
  ac_cv_lib_Xinerama_XineramaQueryExtension=yes
 
27747
else
 
27748
  echo "$as_me: failed program was:" >&5
 
27749
sed 's/^/| /' conftest.$ac_ext >&5
 
27750
 
 
27751
ac_cv_lib_Xinerama_XineramaQueryExtension=no
 
27752
fi
 
27753
rm -f conftest.err conftest.$ac_objext \
 
27754
      conftest$ac_exeext conftest.$ac_ext
 
27755
LIBS=$ac_check_lib_save_LIBS
 
27756
fi
 
27757
echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
 
27758
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6
 
27759
if test $ac_cv_lib_Xinerama_XineramaQueryExtension = yes; then
27400
27760
 
27401
27761
  ac_save_CPPFLAGS="$CPPFLAGS"
27402
27762
  if test \! -z "$includedir" ; then
27452
27812
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xinerama_h" >&5
27453
27813
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xinerama_h" >&6
27454
27814
if test $ac_cv_header_X11_extensions_Xinerama_h = yes; then
27455
 
  have_xinerama=yes
27456
 
fi
27457
 
 
27458
 
 
27459
 
  CPPFLAGS="$ac_save_CPPFLAGS"
27460
 
 
27461
 
  # if that succeeded, then check for the XINERAMA code in the libraries
27462
 
  if test "$have_xinerama" = yes; then
27463
 
 
27464
 
    # first look in -lXext
27465
 
    have_xinerama=no
27466
 
 
27467
 
  ac_save_CPPFLAGS="$CPPFLAGS"
27468
 
  ac_save_LDFLAGS="$LDFLAGS"
27469
 
#  ac_save_LIBS="$LIBS"
27470
 
 
27471
 
  if test \! -z "$includedir" ; then
27472
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
27473
 
  fi
27474
 
  # note: $X_CFLAGS includes $x_includes
27475
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
27476
 
 
27477
 
  if test \! -z "$libdir" ; then
27478
 
    LDFLAGS="$LDFLAGS -L$libdir"
27479
 
  fi
27480
 
  # note: $X_LIBS includes $x_libraries
27481
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
27482
 
 
27483
 
  echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXext" >&5
27484
 
echo $ECHO_N "checking for XineramaQueryScreens in -lXext... $ECHO_C" >&6
27485
 
if test "${ac_cv_lib_Xext_XineramaQueryScreens+set}" = set; then
27486
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27487
 
else
27488
 
  ac_check_lib_save_LIBS=$LIBS
27489
 
LIBS="-lXext -lXext -lX11 $LIBS"
27490
 
cat >conftest.$ac_ext <<_ACEOF
27491
 
/* confdefs.h.  */
27492
 
_ACEOF
27493
 
cat confdefs.h >>conftest.$ac_ext
27494
 
cat >>conftest.$ac_ext <<_ACEOF
27495
 
/* end confdefs.h.  */
27496
 
 
27497
 
/* Override any gcc2 internal prototype to avoid an error.  */
27498
 
#ifdef __cplusplus
27499
 
extern "C"
27500
 
#endif
27501
 
/* We use char because int might match the return type of a gcc2
27502
 
   builtin and then its argument prototype would still apply.  */
27503
 
char XineramaQueryScreens ();
27504
 
int
27505
 
main ()
27506
 
{
27507
 
XineramaQueryScreens ();
27508
 
  ;
27509
 
  return 0;
27510
 
}
27511
 
_ACEOF
27512
 
rm -f conftest.$ac_objext conftest$ac_exeext
27513
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27514
 
  (eval $ac_link) 2>conftest.er1
27515
 
  ac_status=$?
27516
 
  grep -v '^ *+' conftest.er1 >conftest.err
27517
 
  rm -f conftest.er1
27518
 
  cat conftest.err >&5
27519
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520
 
  (exit $ac_status); } &&
27521
 
         { ac_try='test -z "$ac_c_werror_flag"
27522
 
                         || test ! -s conftest.err'
27523
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524
 
  (eval $ac_try) 2>&5
27525
 
  ac_status=$?
27526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527
 
  (exit $ac_status); }; } &&
27528
 
         { ac_try='test -s conftest$ac_exeext'
27529
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27530
 
  (eval $ac_try) 2>&5
27531
 
  ac_status=$?
27532
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533
 
  (exit $ac_status); }; }; then
27534
 
  ac_cv_lib_Xext_XineramaQueryScreens=yes
27535
 
else
27536
 
  echo "$as_me: failed program was:" >&5
27537
 
sed 's/^/| /' conftest.$ac_ext >&5
27538
 
 
27539
 
ac_cv_lib_Xext_XineramaQueryScreens=no
27540
 
fi
27541
 
rm -f conftest.err conftest.$ac_objext \
27542
 
      conftest$ac_exeext conftest.$ac_ext
27543
 
LIBS=$ac_check_lib_save_LIBS
27544
 
fi
27545
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XineramaQueryScreens" >&5
27546
 
echo "${ECHO_T}$ac_cv_lib_Xext_XineramaQueryScreens" >&6
27547
 
if test $ac_cv_lib_Xext_XineramaQueryScreens = yes; then
27548
 
  have_xinerama=yes
27549
 
else
27550
 
  true
27551
 
fi
27552
 
 
27553
 
  CPPFLAGS="$ac_save_CPPFLAGS"
27554
 
  LDFLAGS="$ac_save_LDFLAGS"
27555
 
#  LIBS="$ac_save_LIBS"
27556
 
 
27557
 
 
27558
 
    # if that failed, look in -lXinerama (this is where it is in XFree86 4.1.)
27559
 
    if test "$have_xinerama" = no; then
27560
 
 
27561
 
  ac_save_CPPFLAGS="$CPPFLAGS"
27562
 
  ac_save_LDFLAGS="$LDFLAGS"
27563
 
#  ac_save_LIBS="$LIBS"
27564
 
 
27565
 
  if test \! -z "$includedir" ; then
27566
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
27567
 
  fi
27568
 
  # note: $X_CFLAGS includes $x_includes
27569
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
27570
 
 
27571
 
  if test \! -z "$libdir" ; then
27572
 
    LDFLAGS="$LDFLAGS -L$libdir"
27573
 
  fi
27574
 
  # note: $X_LIBS includes $x_libraries
27575
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
27576
 
 
27577
 
  echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
27578
 
echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6
27579
 
if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
27580
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
27581
 
else
27582
 
  ac_check_lib_save_LIBS=$LIBS
27583
 
LIBS="-lXinerama -lXext -lX11 $LIBS"
27584
 
cat >conftest.$ac_ext <<_ACEOF
27585
 
/* confdefs.h.  */
27586
 
_ACEOF
27587
 
cat confdefs.h >>conftest.$ac_ext
27588
 
cat >>conftest.$ac_ext <<_ACEOF
27589
 
/* end confdefs.h.  */
27590
 
 
27591
 
/* Override any gcc2 internal prototype to avoid an error.  */
27592
 
#ifdef __cplusplus
27593
 
extern "C"
27594
 
#endif
27595
 
/* We use char because int might match the return type of a gcc2
27596
 
   builtin and then its argument prototype would still apply.  */
27597
 
char XineramaQueryScreens ();
27598
 
int
27599
 
main ()
27600
 
{
27601
 
XineramaQueryScreens ();
27602
 
  ;
27603
 
  return 0;
27604
 
}
27605
 
_ACEOF
27606
 
rm -f conftest.$ac_objext conftest$ac_exeext
27607
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27608
 
  (eval $ac_link) 2>conftest.er1
27609
 
  ac_status=$?
27610
 
  grep -v '^ *+' conftest.er1 >conftest.err
27611
 
  rm -f conftest.er1
27612
 
  cat conftest.err >&5
27613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614
 
  (exit $ac_status); } &&
27615
 
         { ac_try='test -z "$ac_c_werror_flag"
27616
 
                         || test ! -s conftest.err'
27617
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618
 
  (eval $ac_try) 2>&5
27619
 
  ac_status=$?
27620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621
 
  (exit $ac_status); }; } &&
27622
 
         { ac_try='test -s conftest$ac_exeext'
27623
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624
 
  (eval $ac_try) 2>&5
27625
 
  ac_status=$?
27626
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627
 
  (exit $ac_status); }; }; then
27628
 
  ac_cv_lib_Xinerama_XineramaQueryScreens=yes
27629
 
else
27630
 
  echo "$as_me: failed program was:" >&5
27631
 
sed 's/^/| /' conftest.$ac_ext >&5
27632
 
 
27633
 
ac_cv_lib_Xinerama_XineramaQueryScreens=no
27634
 
fi
27635
 
rm -f conftest.err conftest.$ac_objext \
27636
 
      conftest$ac_exeext conftest.$ac_ext
27637
 
LIBS=$ac_check_lib_save_LIBS
27638
 
fi
27639
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
27640
 
echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6
27641
 
if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
27642
 
  have_xinerama=yes; SAVER_LIBS="$SAVER_LIBS -lXinerama"
27643
 
else
27644
 
  true
27645
 
fi
27646
 
 
27647
 
  CPPFLAGS="$ac_save_CPPFLAGS"
27648
 
  LDFLAGS="$ac_save_LDFLAGS"
27649
 
#  LIBS="$ac_save_LIBS"
27650
 
 
27651
 
    fi
27652
 
  fi
27653
 
 
27654
 
  # if that succeeded, then we've really got it.
27655
 
  if test "$have_xinerama" = yes; then
27656
 
 
27657
 
cat >>confdefs.h <<\_ACEOF
27658
 
#define HAVE_XINERAMA 1
27659
 
_ACEOF
27660
 
 
27661
 
  fi
27662
 
 
27663
 
elif test "$with_xinerama" != no; then
27664
 
  echo "error: must be yes or no: --with-xinerama-ext=$with_xinerama"
27665
 
  exit 1
27666
 
fi
27667
 
 
 
27815
  SAVER_LIBS="$SAVER_LIBS -lXinerama"
 
27816
                                   if test -z "`echo $ALL_X_LIBS | grep "\-lXext" 2> /dev/null`"; then
 
27817
                                       SAVER_LIBS="$SAVER_LIBS -lXext"
 
27818
                                   fi
 
27819
 
 
27820
cat >>confdefs.h <<\_ACEOF
 
27821
#define HAVE_XFREE_XINERAMA
 
27822
_ACEOF
 
27823
 
 
27824
 
 
27825
cat >>confdefs.h <<\_ACEOF
 
27826
#define HAVE_XINERAMA
 
27827
_ACEOF
 
27828
 
 
27829
else
 
27830
  use_xfree_xinerama=no
 
27831
fi
 
27832
 
 
27833
 
 
27834
  CPPFLAGS="$ac_save_CPPFLAGS"
 
27835
else
 
27836
  use_xfree_xinerama=no
 
27837
fi
 
27838
 
 
27839
  CPPFLAGS="$ac_save_CPPFLAGS"
 
27840
  LDFLAGS="$ac_save_LDFLAGS"
 
27841
#  LIBS="$ac_save_LIBS"
 
27842
 
 
27843
            echo "$as_me:$LINENO: checking for Xinerama support on XFree86" >&5
 
27844
echo $ECHO_N "checking for Xinerama support on XFree86... $ECHO_C" >&6
 
27845
            echo "$as_me:$LINENO: result: $use_xfree_xinerama" >&5
 
27846
echo "${ECHO_T}$use_xfree_xinerama" >&6;
 
27847
            ;;
 
27848
    esac
 
27849
fi
27668
27850
 
27669
27851
###############################################################################
27670
27852
#
27812
27994
    LDFLAGS="$LDFLAGS -L$libdir"
27813
27995
  fi
27814
27996
  # note: $X_LIBS includes $x_libraries
27815
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
27997
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
27816
27998
 
27817
27999
  echo "$as_me:$LINENO: checking for XF86VidModeGetViewPort in -lXxf86vm" >&5
27818
28000
echo $ECHO_N "checking for XF86VidModeGetViewPort in -lXxf86vm... $ECHO_C" >&6
28056
28238
    LDFLAGS="$LDFLAGS -L$libdir"
28057
28239
  fi
28058
28240
  # note: $X_LIBS includes $x_libraries
28059
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
28241
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
28060
28242
 
28061
28243
  echo "$as_me:$LINENO: checking for XF86VidModeSetGamma in -lXxf86vm" >&5
28062
28244
echo $ECHO_N "checking for XF86VidModeSetGamma in -lXxf86vm... $ECHO_C" >&6
28152
28334
    LDFLAGS="$LDFLAGS -L$libdir"
28153
28335
  fi
28154
28336
  # note: $X_LIBS includes $x_libraries
28155
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
 
28337
  LDFLAGS="$LDFLAGS $ALL_X_LIBS"
28156
28338
 
28157
28339
  echo "$as_me:$LINENO: checking for XF86VidModeSetGammaRamp in -lXxf86vm" >&5
28158
28340
echo $ECHO_N "checking for XF86VidModeSetGammaRamp in -lXxf86vm... $ECHO_C" >&6
28257
28439
  exit 1
28258
28440
fi
28259
28441
 
28260
 
 
28261
 
###############################################################################
28262
 
#
28263
 
#       Check for the RANDR (Resize and Rotate) server extension.
28264
 
#
28265
 
#       We need this to detect when the resolution of the desktop
28266
 
#       has changed out from under us (this is a newer, different
28267
 
#       mechanism than the XF86VMODE virtual viewports.)
28268
 
#
28269
 
###############################################################################
28270
 
 
28271
 
have_randr=no
28272
 
with_randr_req=unspecified
28273
 
 
28274
 
# Check whether --with-randr-ext or --without-randr-ext was given.
28275
 
if test "${with_randr_ext+set}" = set; then
28276
 
  withval="$with_randr_ext"
28277
 
  with_randr="$withval"; with_randr_req="$withval"
28278
 
else
28279
 
  with_randr=yes
28280
 
fi;
28281
 
 
28282
 
 
28283
 
   case "$with_randr" in
28284
 
    yes) ;;
28285
 
    no)  ;;
28286
 
 
28287
 
    /*)
28288
 
     echo "$as_me:$LINENO: checking for RANDR headers" >&5
28289
 
echo $ECHO_N "checking for RANDR headers... $ECHO_C" >&6
28290
 
     d=$with_randr/include
28291
 
     if test -d $d; then
28292
 
       X_CFLAGS="-I$d $X_CFLAGS"
28293
 
       echo "$as_me:$LINENO: result: $d" >&5
28294
 
echo "${ECHO_T}$d" >&6
28295
 
     else
28296
 
       echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
28297
 
echo "${ECHO_T}not found ($d: no such directory)" >&6
28298
 
     fi
28299
 
 
28300
 
     echo "$as_me:$LINENO: checking for RANDR libs" >&5
28301
 
echo $ECHO_N "checking for RANDR libs... $ECHO_C" >&6
28302
 
     d=$with_randr/lib
28303
 
     if test -d $d; then
28304
 
       X_LIBS="-L$d $X_LIBS"
28305
 
       echo "$as_me:$LINENO: result: $d" >&5
28306
 
echo "${ECHO_T}$d" >&6
28307
 
     else
28308
 
       echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
28309
 
echo "${ECHO_T}not found ($d: no such directory)" >&6
28310
 
     fi
28311
 
 
28312
 
     # replace the directory string with "yes".
28313
 
     with_randr_req="yes"
28314
 
     with_randr=$with_randr_req
28315
 
     ;;
28316
 
 
28317
 
    *)
28318
 
     echo ""
28319
 
     echo "error: argument to --with-randr-ext must be \"yes\", \"no\", or a directory."
28320
 
     echo "       If it is a directory, then \`DIR/include' will be added to"
28321
 
     echo "       the -I list, and \`DIR/lib' will be added to the -L list."
28322
 
     exit 1
28323
 
     ;;
28324
 
   esac
28325
 
 
28326
 
 
28327
 
if test "$with_randr" = yes; then
28328
 
 
28329
 
  # first check for Randr.h
28330
 
 
28331
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28332
 
  if test \! -z "$includedir" ; then
28333
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28334
 
  fi
28335
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
 
28442
###############################################################################
 
28443
#
 
28444
#       RANDR Extension
 
28445
#
 
28446
###############################################################################
 
28447
 
 
28448
RANDR_LIBS=
 
28449
found_randr=no
 
28450
echo "$as_me:$LINENO: checking for XRRUpdateConfiguration in -lXrandr" >&5
 
28451
echo $ECHO_N "checking for XRRUpdateConfiguration in -lXrandr... $ECHO_C" >&6
 
28452
if test "${ac_cv_lib_Xrandr_XRRUpdateConfiguration+set}" = set; then
 
28453
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28454
else
 
28455
  ac_check_lib_save_LIBS=$LIBS
 
28456
LIBS="-lXrandr -lXrender -lXext $ALL_X_LIBS $LIBS"
 
28457
cat >conftest.$ac_ext <<_ACEOF
 
28458
/* confdefs.h.  */
 
28459
_ACEOF
 
28460
cat confdefs.h >>conftest.$ac_ext
 
28461
cat >>conftest.$ac_ext <<_ACEOF
 
28462
/* end confdefs.h.  */
 
28463
 
 
28464
/* Override any gcc2 internal prototype to avoid an error.  */
 
28465
#ifdef __cplusplus
 
28466
extern "C"
 
28467
#endif
 
28468
/* We use char because int might match the return type of a gcc2
 
28469
   builtin and then its argument prototype would still apply.  */
 
28470
char XRRUpdateConfiguration ();
 
28471
int
 
28472
main ()
 
28473
{
 
28474
XRRUpdateConfiguration ();
 
28475
  ;
 
28476
  return 0;
 
28477
}
 
28478
_ACEOF
 
28479
rm -f conftest.$ac_objext conftest$ac_exeext
 
28480
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28481
  (eval $ac_link) 2>conftest.er1
 
28482
  ac_status=$?
 
28483
  grep -v '^ *+' conftest.er1 >conftest.err
 
28484
  rm -f conftest.er1
 
28485
  cat conftest.err >&5
 
28486
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28487
  (exit $ac_status); } &&
 
28488
         { ac_try='test -z "$ac_c_werror_flag"
 
28489
                         || test ! -s conftest.err'
 
28490
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28491
  (eval $ac_try) 2>&5
 
28492
  ac_status=$?
 
28493
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28494
  (exit $ac_status); }; } &&
 
28495
         { ac_try='test -s conftest$ac_exeext'
 
28496
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28497
  (eval $ac_try) 2>&5
 
28498
  ac_status=$?
 
28499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28500
  (exit $ac_status); }; }; then
 
28501
  ac_cv_lib_Xrandr_XRRUpdateConfiguration=yes
 
28502
else
 
28503
  echo "$as_me: failed program was:" >&5
 
28504
sed 's/^/| /' conftest.$ac_ext >&5
 
28505
 
 
28506
ac_cv_lib_Xrandr_XRRUpdateConfiguration=no
 
28507
fi
 
28508
rm -f conftest.err conftest.$ac_objext \
 
28509
      conftest$ac_exeext conftest.$ac_ext
 
28510
LIBS=$ac_check_lib_save_LIBS
 
28511
fi
 
28512
echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&5
 
28513
echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRUpdateConfiguration" >&6
 
28514
if test $ac_cv_lib_Xrandr_XRRUpdateConfiguration = yes; then
28336
28515
  echo "$as_me:$LINENO: checking for X11/extensions/Xrandr.h" >&5
28337
28516
echo $ECHO_N "checking for X11/extensions/Xrandr.h... $ECHO_C" >&6
28338
28517
if test "${ac_cv_header_X11_extensions_Xrandr_h+set}" = set; then
28382
28561
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_Xrandr_h" >&5
28383
28562
echo "${ECHO_T}$ac_cv_header_X11_extensions_Xrandr_h" >&6
28384
28563
if test $ac_cv_header_X11_extensions_Xrandr_h = yes; then
28385
 
  have_randr=yes
28386
 
fi
28387
 
 
28388
 
 
28389
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28390
 
 
28391
 
  # if that succeeded, then check for the XRR code in the libraries
28392
 
  if test "$have_randr" = yes; then
28393
 
 
28394
 
    # RANDR probably needs -lXrender
28395
 
    xrender_libs=
28396
 
 
28397
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28398
 
  ac_save_LDFLAGS="$LDFLAGS"
28399
 
#  ac_save_LIBS="$LIBS"
28400
 
 
28401
 
  if test \! -z "$includedir" ; then
28402
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28403
 
  fi
28404
 
  # note: $X_CFLAGS includes $x_includes
28405
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28406
 
 
28407
 
  if test \! -z "$libdir" ; then
28408
 
    LDFLAGS="$LDFLAGS -L$libdir"
28409
 
  fi
28410
 
  # note: $X_LIBS includes $x_libraries
28411
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
28412
 
 
28413
 
  echo "$as_me:$LINENO: checking for XRenderSetSubpixelOrder in -lXrender" >&5
28414
 
echo $ECHO_N "checking for XRenderSetSubpixelOrder in -lXrender... $ECHO_C" >&6
28415
 
if test "${ac_cv_lib_Xrender_XRenderSetSubpixelOrder+set}" = set; then
28416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28417
 
else
28418
 
  ac_check_lib_save_LIBS=$LIBS
28419
 
LIBS="-lXrender -lXext -lX11 $LIBS"
28420
 
cat >conftest.$ac_ext <<_ACEOF
28421
 
/* confdefs.h.  */
28422
 
_ACEOF
28423
 
cat confdefs.h >>conftest.$ac_ext
28424
 
cat >>conftest.$ac_ext <<_ACEOF
28425
 
/* end confdefs.h.  */
28426
 
 
28427
 
/* Override any gcc2 internal prototype to avoid an error.  */
28428
 
#ifdef __cplusplus
28429
 
extern "C"
28430
 
#endif
28431
 
/* We use char because int might match the return type of a gcc2
28432
 
   builtin and then its argument prototype would still apply.  */
28433
 
char XRenderSetSubpixelOrder ();
28434
 
int
28435
 
main ()
28436
 
{
28437
 
XRenderSetSubpixelOrder ();
28438
 
  ;
28439
 
  return 0;
28440
 
}
28441
 
_ACEOF
28442
 
rm -f conftest.$ac_objext conftest$ac_exeext
28443
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28444
 
  (eval $ac_link) 2>conftest.er1
28445
 
  ac_status=$?
28446
 
  grep -v '^ *+' conftest.er1 >conftest.err
28447
 
  rm -f conftest.er1
28448
 
  cat conftest.err >&5
28449
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450
 
  (exit $ac_status); } &&
28451
 
         { ac_try='test -z "$ac_c_werror_flag"
28452
 
                         || test ! -s conftest.err'
28453
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28454
 
  (eval $ac_try) 2>&5
28455
 
  ac_status=$?
28456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457
 
  (exit $ac_status); }; } &&
28458
 
         { ac_try='test -s conftest$ac_exeext'
28459
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28460
 
  (eval $ac_try) 2>&5
28461
 
  ac_status=$?
28462
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463
 
  (exit $ac_status); }; }; then
28464
 
  ac_cv_lib_Xrender_XRenderSetSubpixelOrder=yes
28465
 
else
28466
 
  echo "$as_me: failed program was:" >&5
28467
 
sed 's/^/| /' conftest.$ac_ext >&5
28468
 
 
28469
 
ac_cv_lib_Xrender_XRenderSetSubpixelOrder=no
28470
 
fi
28471
 
rm -f conftest.err conftest.$ac_objext \
28472
 
      conftest$ac_exeext conftest.$ac_ext
28473
 
LIBS=$ac_check_lib_save_LIBS
28474
 
fi
28475
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetSubpixelOrder" >&5
28476
 
echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetSubpixelOrder" >&6
28477
 
if test $ac_cv_lib_Xrender_XRenderSetSubpixelOrder = yes; then
28478
 
  xrender_libs="-lXrender"
28479
 
else
28480
 
  true
28481
 
fi
28482
 
 
28483
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28484
 
  LDFLAGS="$ac_save_LDFLAGS"
28485
 
#  LIBS="$ac_save_LIBS"
28486
 
 
28487
 
 
28488
 
    # first look for RANDR in -lXext
28489
 
    have_randr=no
28490
 
 
28491
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28492
 
  ac_save_LDFLAGS="$LDFLAGS"
28493
 
#  ac_save_LIBS="$LIBS"
28494
 
 
28495
 
  if test \! -z "$includedir" ; then
28496
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28497
 
  fi
28498
 
  # note: $X_CFLAGS includes $x_includes
28499
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28500
 
 
28501
 
  if test \! -z "$libdir" ; then
28502
 
    LDFLAGS="$LDFLAGS -L$libdir"
28503
 
  fi
28504
 
  # note: $X_LIBS includes $x_libraries
28505
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
28506
 
 
28507
 
  echo "$as_me:$LINENO: checking for XRRGetScreenInfo in -lXext" >&5
28508
 
echo $ECHO_N "checking for XRRGetScreenInfo in -lXext... $ECHO_C" >&6
28509
 
if test "${ac_cv_lib_Xext_XRRGetScreenInfo+set}" = set; then
28510
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28511
 
else
28512
 
  ac_check_lib_save_LIBS=$LIBS
28513
 
LIBS="-lXext $xrender_libs -lXext -lX11 $LIBS"
28514
 
cat >conftest.$ac_ext <<_ACEOF
28515
 
/* confdefs.h.  */
28516
 
_ACEOF
28517
 
cat confdefs.h >>conftest.$ac_ext
28518
 
cat >>conftest.$ac_ext <<_ACEOF
28519
 
/* end confdefs.h.  */
28520
 
 
28521
 
/* Override any gcc2 internal prototype to avoid an error.  */
28522
 
#ifdef __cplusplus
28523
 
extern "C"
28524
 
#endif
28525
 
/* We use char because int might match the return type of a gcc2
28526
 
   builtin and then its argument prototype would still apply.  */
28527
 
char XRRGetScreenInfo ();
28528
 
int
28529
 
main ()
28530
 
{
28531
 
XRRGetScreenInfo ();
28532
 
  ;
28533
 
  return 0;
28534
 
}
28535
 
_ACEOF
28536
 
rm -f conftest.$ac_objext conftest$ac_exeext
28537
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28538
 
  (eval $ac_link) 2>conftest.er1
28539
 
  ac_status=$?
28540
 
  grep -v '^ *+' conftest.er1 >conftest.err
28541
 
  rm -f conftest.er1
28542
 
  cat conftest.err >&5
28543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28544
 
  (exit $ac_status); } &&
28545
 
         { ac_try='test -z "$ac_c_werror_flag"
28546
 
                         || test ! -s conftest.err'
28547
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548
 
  (eval $ac_try) 2>&5
28549
 
  ac_status=$?
28550
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551
 
  (exit $ac_status); }; } &&
28552
 
         { ac_try='test -s conftest$ac_exeext'
28553
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28554
 
  (eval $ac_try) 2>&5
28555
 
  ac_status=$?
28556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28557
 
  (exit $ac_status); }; }; then
28558
 
  ac_cv_lib_Xext_XRRGetScreenInfo=yes
28559
 
else
28560
 
  echo "$as_me: failed program was:" >&5
28561
 
sed 's/^/| /' conftest.$ac_ext >&5
28562
 
 
28563
 
ac_cv_lib_Xext_XRRGetScreenInfo=no
28564
 
fi
28565
 
rm -f conftest.err conftest.$ac_objext \
28566
 
      conftest$ac_exeext conftest.$ac_ext
28567
 
LIBS=$ac_check_lib_save_LIBS
28568
 
fi
28569
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XRRGetScreenInfo" >&5
28570
 
echo "${ECHO_T}$ac_cv_lib_Xext_XRRGetScreenInfo" >&6
28571
 
if test $ac_cv_lib_Xext_XRRGetScreenInfo = yes; then
28572
 
  have_randr=yes; SAVER_LIBS="$SAVER_LIBS $xrender_libs"
28573
 
else
28574
 
  true
28575
 
fi
28576
 
 
28577
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28578
 
  LDFLAGS="$ac_save_LDFLAGS"
28579
 
#  LIBS="$ac_save_LIBS"
28580
 
 
28581
 
 
28582
 
    # if that failed, look in -lXrandr
28583
 
    if test "$have_randr" = no; then
28584
 
 
28585
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28586
 
  ac_save_LDFLAGS="$LDFLAGS"
28587
 
#  ac_save_LIBS="$LIBS"
28588
 
 
28589
 
  if test \! -z "$includedir" ; then
28590
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28591
 
  fi
28592
 
  # note: $X_CFLAGS includes $x_includes
28593
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28594
 
 
28595
 
  if test \! -z "$libdir" ; then
28596
 
    LDFLAGS="$LDFLAGS -L$libdir"
28597
 
  fi
28598
 
  # note: $X_LIBS includes $x_libraries
28599
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
28600
 
 
28601
 
  echo "$as_me:$LINENO: checking for XRRGetScreenInfo in -lXrandr" >&5
28602
 
echo $ECHO_N "checking for XRRGetScreenInfo in -lXrandr... $ECHO_C" >&6
28603
 
if test "${ac_cv_lib_Xrandr_XRRGetScreenInfo+set}" = set; then
28604
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28605
 
else
28606
 
  ac_check_lib_save_LIBS=$LIBS
28607
 
LIBS="-lXrandr $xrender_libs -lXext -lX11 $LIBS"
28608
 
cat >conftest.$ac_ext <<_ACEOF
28609
 
/* confdefs.h.  */
28610
 
_ACEOF
28611
 
cat confdefs.h >>conftest.$ac_ext
28612
 
cat >>conftest.$ac_ext <<_ACEOF
28613
 
/* end confdefs.h.  */
28614
 
 
28615
 
/* Override any gcc2 internal prototype to avoid an error.  */
28616
 
#ifdef __cplusplus
28617
 
extern "C"
28618
 
#endif
28619
 
/* We use char because int might match the return type of a gcc2
28620
 
   builtin and then its argument prototype would still apply.  */
28621
 
char XRRGetScreenInfo ();
28622
 
int
28623
 
main ()
28624
 
{
28625
 
XRRGetScreenInfo ();
28626
 
  ;
28627
 
  return 0;
28628
 
}
28629
 
_ACEOF
28630
 
rm -f conftest.$ac_objext conftest$ac_exeext
28631
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632
 
  (eval $ac_link) 2>conftest.er1
28633
 
  ac_status=$?
28634
 
  grep -v '^ *+' conftest.er1 >conftest.err
28635
 
  rm -f conftest.er1
28636
 
  cat conftest.err >&5
28637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28638
 
  (exit $ac_status); } &&
28639
 
         { ac_try='test -z "$ac_c_werror_flag"
28640
 
                         || test ! -s conftest.err'
28641
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28642
 
  (eval $ac_try) 2>&5
28643
 
  ac_status=$?
28644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28645
 
  (exit $ac_status); }; } &&
28646
 
         { ac_try='test -s conftest$ac_exeext'
28647
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28648
 
  (eval $ac_try) 2>&5
28649
 
  ac_status=$?
28650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651
 
  (exit $ac_status); }; }; then
28652
 
  ac_cv_lib_Xrandr_XRRGetScreenInfo=yes
28653
 
else
28654
 
  echo "$as_me: failed program was:" >&5
28655
 
sed 's/^/| /' conftest.$ac_ext >&5
28656
 
 
28657
 
ac_cv_lib_Xrandr_XRRGetScreenInfo=no
28658
 
fi
28659
 
rm -f conftest.err conftest.$ac_objext \
28660
 
      conftest$ac_exeext conftest.$ac_ext
28661
 
LIBS=$ac_check_lib_save_LIBS
28662
 
fi
28663
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRGetScreenInfo" >&5
28664
 
echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRGetScreenInfo" >&6
28665
 
if test $ac_cv_lib_Xrandr_XRRGetScreenInfo = yes; then
28666
 
  have_randr=yes; SAVER_LIBS="$SAVER_LIBS -lXrandr $xrender_libs"
28667
 
else
28668
 
  true
28669
 
fi
28670
 
 
28671
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28672
 
  LDFLAGS="$ac_save_LDFLAGS"
28673
 
#  LIBS="$ac_save_LIBS"
28674
 
 
28675
 
    fi
28676
 
  fi
28677
 
 
28678
 
  # if that succeeded, then we've really got it.
28679
 
  if test "$have_randr" = yes; then
28680
 
 
28681
 
cat >>confdefs.h <<\_ACEOF
28682
 
#define HAVE_RANDR 1
28683
 
_ACEOF
28684
 
 
28685
 
  fi
28686
 
 
28687
 
elif test "$with_randr" != no; then
28688
 
  echo "error: must be yes or no: --with-randr-ext=$with_randr"
28689
 
  exit 1
28690
 
fi
28691
 
 
28692
 
 
28693
 
###############################################################################
28694
 
#
28695
 
#       Check for XF86MiscSetGrabKeysState (but only bother if we are already
28696
 
#       using other XF86 stuff.)
28697
 
#
28698
 
###############################################################################
28699
 
 
28700
 
have_xf86miscsetgrabkeysstate=no
28701
 
if test "$have_xf86gamma" = yes -o "$have_xf86vmode" = yes; then
28702
 
 
28703
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28704
 
  ac_save_LDFLAGS="$LDFLAGS"
28705
 
#  ac_save_LIBS="$LIBS"
28706
 
 
28707
 
  if test \! -z "$includedir" ; then
28708
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28709
 
  fi
28710
 
  # note: $X_CFLAGS includes $x_includes
28711
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28712
 
 
28713
 
  if test \! -z "$libdir" ; then
28714
 
    LDFLAGS="$LDFLAGS -L$libdir"
28715
 
  fi
28716
 
  # note: $X_LIBS includes $x_libraries
28717
 
  LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
28718
 
 
28719
 
  echo "$as_me:$LINENO: checking for XF86MiscSetGrabKeysState in -lXxf86misc" >&5
28720
 
echo $ECHO_N "checking for XF86MiscSetGrabKeysState in -lXxf86misc... $ECHO_C" >&6
28721
 
if test "${ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState+set}" = set; then
28722
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28723
 
else
28724
 
  ac_check_lib_save_LIBS=$LIBS
28725
 
LIBS="-lXxf86misc -lXext -lX11 $LIBS"
28726
 
cat >conftest.$ac_ext <<_ACEOF
28727
 
/* confdefs.h.  */
28728
 
_ACEOF
28729
 
cat confdefs.h >>conftest.$ac_ext
28730
 
cat >>conftest.$ac_ext <<_ACEOF
28731
 
/* end confdefs.h.  */
28732
 
 
28733
 
/* Override any gcc2 internal prototype to avoid an error.  */
28734
 
#ifdef __cplusplus
28735
 
extern "C"
28736
 
#endif
28737
 
/* We use char because int might match the return type of a gcc2
28738
 
   builtin and then its argument prototype would still apply.  */
28739
 
char XF86MiscSetGrabKeysState ();
28740
 
int
28741
 
main ()
28742
 
{
28743
 
XF86MiscSetGrabKeysState ();
28744
 
  ;
28745
 
  return 0;
28746
 
}
28747
 
_ACEOF
28748
 
rm -f conftest.$ac_objext conftest$ac_exeext
28749
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28750
 
  (eval $ac_link) 2>conftest.er1
28751
 
  ac_status=$?
28752
 
  grep -v '^ *+' conftest.er1 >conftest.err
28753
 
  rm -f conftest.er1
28754
 
  cat conftest.err >&5
28755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756
 
  (exit $ac_status); } &&
28757
 
         { ac_try='test -z "$ac_c_werror_flag"
28758
 
                         || test ! -s conftest.err'
28759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760
 
  (eval $ac_try) 2>&5
28761
 
  ac_status=$?
28762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763
 
  (exit $ac_status); }; } &&
28764
 
         { ac_try='test -s conftest$ac_exeext'
28765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28766
 
  (eval $ac_try) 2>&5
28767
 
  ac_status=$?
28768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769
 
  (exit $ac_status); }; }; then
28770
 
  ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState=yes
28771
 
else
28772
 
  echo "$as_me: failed program was:" >&5
28773
 
sed 's/^/| /' conftest.$ac_ext >&5
28774
 
 
28775
 
ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState=no
28776
 
fi
28777
 
rm -f conftest.err conftest.$ac_objext \
28778
 
      conftest$ac_exeext conftest.$ac_ext
28779
 
LIBS=$ac_check_lib_save_LIBS
28780
 
fi
28781
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState" >&5
28782
 
echo "${ECHO_T}$ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState" >&6
28783
 
if test $ac_cv_lib_Xxf86misc_XF86MiscSetGrabKeysState = yes; then
28784
 
  have_xf86miscsetgrabkeysstate=yes
28785
 
else
28786
 
  true
28787
 
fi
28788
 
 
28789
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28790
 
  LDFLAGS="$ac_save_LDFLAGS"
28791
 
#  LIBS="$ac_save_LIBS"
28792
 
 
28793
 
  if test "$have_xf86miscsetgrabkeysstate" = yes ; then
28794
 
    SAVER_LIBS="$SAVER_LIBS -lXxf86misc"
28795
 
 
28796
 
cat >>confdefs.h <<\_ACEOF
28797
 
#define HAVE_XF86MISCSETGRABKEYSSTATE 1
28798
 
_ACEOF
28799
 
 
28800
 
  fi
28801
 
fi
28802
 
 
28803
 
 
28804
 
###############################################################################
28805
 
#
28806
 
#       Check for HP XHPDisableReset and XHPEnableReset.
28807
 
#
28808
 
###############################################################################
28809
 
 
28810
 
echo "$as_me:$LINENO: checking for XHPDisableReset in X11/XHPlib.h" >&5
28811
 
echo $ECHO_N "checking for XHPDisableReset in X11/XHPlib.h... $ECHO_C" >&6
28812
 
 
28813
 
  ac_save_CPPFLAGS="$CPPFLAGS"
28814
 
  if test \! -z "$includedir" ; then
28815
 
    CPPFLAGS="$CPPFLAGS -I$includedir"
28816
 
  fi
28817
 
  CPPFLAGS="$CPPFLAGS $X_CFLAGS"
28818
 
  cat >conftest.$ac_ext <<_ACEOF
28819
 
/* confdefs.h.  */
28820
 
_ACEOF
28821
 
cat confdefs.h >>conftest.$ac_ext
28822
 
cat >>conftest.$ac_ext <<_ACEOF
28823
 
/* end confdefs.h.  */
28824
 
#include <X11/XHPlib.h>
28825
 
 
28826
 
_ACEOF
28827
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28828
 
  $EGREP "XHPDisableReset" >/dev/null 2>&1; then
28829
 
 
28830
 
cat >>confdefs.h <<\_ACEOF
28831
 
#define HAVE_XHPDISABLERESET 1
28832
 
_ACEOF
28833
 
 
28834
 
                   SAVER_LIBS="-lXhp11 $SAVER_LIBS"
28835
 
                   echo "$as_me:$LINENO: result: yes" >&5
28836
 
echo "${ECHO_T}yes" >&6
28837
 
else
28838
 
  echo "$as_me:$LINENO: result: no" >&5
28839
 
echo "${ECHO_T}no" >&6
28840
 
fi
28841
 
rm -f conftest*
28842
 
 
28843
 
  CPPFLAGS="$ac_save_CPPFLAGS"
28844
 
 
28845
 
 
28846
 
###############################################################################
28847
 
#
28848
 
#       Check for /proc/interrupts.
28849
 
#
28850
 
###############################################################################
28851
 
 
28852
 
have_proc_interrupts=no
28853
 
with_proc_interrupts_req=unspecified
28854
 
 
28855
 
# Check whether --with-proc-interrupts or --without-proc-interrupts was given.
28856
 
if test "${with_proc_interrupts+set}" = set; then
28857
 
  withval="$with_proc_interrupts"
28858
 
  with_proc_interrupts="$withval"; with_proc_interrupts_req="$withval"
28859
 
else
28860
 
  with_proc_interrupts=yes
28861
 
fi;
28862
 
 
28863
 
if test "$with_proc_interrupts" = yes; then
28864
 
 
28865
 
   echo "$as_me:$LINENO: checking whether /proc/interrupts contains keyboard data" >&5
28866
 
echo $ECHO_N "checking whether /proc/interrupts contains keyboard data... $ECHO_C" >&6
28867
 
if test "${ac_cv_have_proc_interrupts+set}" = set; then
28868
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
28869
 
else
28870
 
  ac_cv_have_proc_interrupts=no
28871
 
     if grep keyboard /proc/interrupts >/dev/null 2>&1 ; then
28872
 
       ac_cv_have_proc_interrupts=yes
28873
 
     fi
28874
 
 
28875
 
fi
28876
 
echo "$as_me:$LINENO: result: $ac_cv_have_proc_interrupts" >&5
28877
 
echo "${ECHO_T}$ac_cv_have_proc_interrupts" >&6
28878
 
   have_proc_interrupts=$ac_cv_have_proc_interrupts
28879
 
 
28880
 
  if test "$have_proc_interrupts" = yes; then
28881
 
 
28882
 
cat >>confdefs.h <<\_ACEOF
28883
 
#define HAVE_PROC_INTERRUPTS 1
28884
 
_ACEOF
28885
 
 
28886
 
  fi
28887
 
 
28888
 
elif test "$with_proc_interrupts" != no; then
28889
 
  echo "error: must be yes or no: --with-proc-interrupts=$with_proc_interrupts"
28890
 
  exit 1
28891
 
fi
28892
 
 
 
28564
  RANDR_LIBS=-lXrandr found_randr=yes
 
28565
fi
 
28566
 
 
28567
 
 
28568
fi
 
28569
 
 
28570
 
 
28571
if test "x$found_randr" = "xyes"; then
 
28572
 
 
28573
cat >>confdefs.h <<\_ACEOF
 
28574
#define HAVE_RANDR
 
28575
_ACEOF
 
28576
 
 
28577
fi
28893
28578
 
28894
28579
###############################################################################
28895
28580
#
28917
28602
  exit 1
28918
28603
fi
28919
28604
 
28920
 
# We can't lock on MacOS X, so don't even bother compiling in support for it.
 
28605
# We can't lock on MacOS X, so don't compile in support for it.
28921
28606
#
28922
28607
if test "$ac_macosx" = yes; then
28923
28608
  if test "$enable_locking" = yes; then
29008
28693
echo "$as_me: WARNING: could not find directory containing xscreensaver hacks" >&2;}
29009
28694
fi
29010
28695
 
29011
 
#       Check for PAM.
29012
 
 
 
28696
#
 
28697
# Check for PAM
 
28698
#
29013
28699
have_pam=no
29014
28700
# Check whether --enable-pam or --disable-pam was given.
29015
28701
if test "${enable_pam+set}" = set; then
29090
28776
 
29091
28777
fi
29092
28778
if test "x$have_pam" = "xyes"; then
 
28779
 
29093
28780
    AUTH_LIBS="${AUTH_LIBS} -lpam"
29094
28781
 
29095
28782
cat >>confdefs.h <<\_ACEOF
29097
28784
_ACEOF
29098
28785
 
29099
28786
 
 
28787
    # On Linux, sigtimedwait() is in libc; on Solaris, it's in librt.
 
28788
    have_timedwait=no
 
28789
    echo "$as_me:$LINENO: checking for sigtimedwait in -lc" >&5
 
28790
echo $ECHO_N "checking for sigtimedwait in -lc... $ECHO_C" >&6
 
28791
if test "${ac_cv_lib_c_sigtimedwait+set}" = set; then
 
28792
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28793
else
 
28794
  ac_check_lib_save_LIBS=$LIBS
 
28795
LIBS="-lc  $LIBS"
 
28796
cat >conftest.$ac_ext <<_ACEOF
 
28797
/* confdefs.h.  */
 
28798
_ACEOF
 
28799
cat confdefs.h >>conftest.$ac_ext
 
28800
cat >>conftest.$ac_ext <<_ACEOF
 
28801
/* end confdefs.h.  */
 
28802
 
 
28803
/* Override any gcc2 internal prototype to avoid an error.  */
 
28804
#ifdef __cplusplus
 
28805
extern "C"
 
28806
#endif
 
28807
/* We use char because int might match the return type of a gcc2
 
28808
   builtin and then its argument prototype would still apply.  */
 
28809
char sigtimedwait ();
 
28810
int
 
28811
main ()
 
28812
{
 
28813
sigtimedwait ();
 
28814
  ;
 
28815
  return 0;
 
28816
}
 
28817
_ACEOF
 
28818
rm -f conftest.$ac_objext conftest$ac_exeext
 
28819
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28820
  (eval $ac_link) 2>conftest.er1
 
28821
  ac_status=$?
 
28822
  grep -v '^ *+' conftest.er1 >conftest.err
 
28823
  rm -f conftest.er1
 
28824
  cat conftest.err >&5
 
28825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28826
  (exit $ac_status); } &&
 
28827
         { ac_try='test -z "$ac_c_werror_flag"
 
28828
                         || test ! -s conftest.err'
 
28829
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28830
  (eval $ac_try) 2>&5
 
28831
  ac_status=$?
 
28832
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28833
  (exit $ac_status); }; } &&
 
28834
         { ac_try='test -s conftest$ac_exeext'
 
28835
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28836
  (eval $ac_try) 2>&5
 
28837
  ac_status=$?
 
28838
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28839
  (exit $ac_status); }; }; then
 
28840
  ac_cv_lib_c_sigtimedwait=yes
 
28841
else
 
28842
  echo "$as_me: failed program was:" >&5
 
28843
sed 's/^/| /' conftest.$ac_ext >&5
 
28844
 
 
28845
ac_cv_lib_c_sigtimedwait=no
 
28846
fi
 
28847
rm -f conftest.err conftest.$ac_objext \
 
28848
      conftest$ac_exeext conftest.$ac_ext
 
28849
LIBS=$ac_check_lib_save_LIBS
 
28850
fi
 
28851
echo "$as_me:$LINENO: result: $ac_cv_lib_c_sigtimedwait" >&5
 
28852
echo "${ECHO_T}$ac_cv_lib_c_sigtimedwait" >&6
 
28853
if test $ac_cv_lib_c_sigtimedwait = yes; then
 
28854
  have_timedwait=yes
 
28855
fi
 
28856
 
 
28857
    if test "$have_timedwait" = no ; then
 
28858
      echo "$as_me:$LINENO: checking for sigtimedwait in -lrt" >&5
 
28859
echo $ECHO_N "checking for sigtimedwait in -lrt... $ECHO_C" >&6
 
28860
if test "${ac_cv_lib_rt_sigtimedwait+set}" = set; then
 
28861
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
28862
else
 
28863
  ac_check_lib_save_LIBS=$LIBS
 
28864
LIBS="-lrt  $LIBS"
 
28865
cat >conftest.$ac_ext <<_ACEOF
 
28866
/* confdefs.h.  */
 
28867
_ACEOF
 
28868
cat confdefs.h >>conftest.$ac_ext
 
28869
cat >>conftest.$ac_ext <<_ACEOF
 
28870
/* end confdefs.h.  */
 
28871
 
 
28872
/* Override any gcc2 internal prototype to avoid an error.  */
 
28873
#ifdef __cplusplus
 
28874
extern "C"
 
28875
#endif
 
28876
/* We use char because int might match the return type of a gcc2
 
28877
   builtin and then its argument prototype would still apply.  */
 
28878
char sigtimedwait ();
 
28879
int
 
28880
main ()
 
28881
{
 
28882
sigtimedwait ();
 
28883
  ;
 
28884
  return 0;
 
28885
}
 
28886
_ACEOF
 
28887
rm -f conftest.$ac_objext conftest$ac_exeext
 
28888
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
28889
  (eval $ac_link) 2>conftest.er1
 
28890
  ac_status=$?
 
28891
  grep -v '^ *+' conftest.er1 >conftest.err
 
28892
  rm -f conftest.er1
 
28893
  cat conftest.err >&5
 
28894
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28895
  (exit $ac_status); } &&
 
28896
         { ac_try='test -z "$ac_c_werror_flag"
 
28897
                         || test ! -s conftest.err'
 
28898
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28899
  (eval $ac_try) 2>&5
 
28900
  ac_status=$?
 
28901
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28902
  (exit $ac_status); }; } &&
 
28903
         { ac_try='test -s conftest$ac_exeext'
 
28904
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
28905
  (eval $ac_try) 2>&5
 
28906
  ac_status=$?
 
28907
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
28908
  (exit $ac_status); }; }; then
 
28909
  ac_cv_lib_rt_sigtimedwait=yes
 
28910
else
 
28911
  echo "$as_me: failed program was:" >&5
 
28912
sed 's/^/| /' conftest.$ac_ext >&5
 
28913
 
 
28914
ac_cv_lib_rt_sigtimedwait=no
 
28915
fi
 
28916
rm -f conftest.err conftest.$ac_objext \
 
28917
      conftest$ac_exeext conftest.$ac_ext
 
28918
LIBS=$ac_check_lib_save_LIBS
 
28919
fi
 
28920
echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sigtimedwait" >&5
 
28921
echo "${ECHO_T}$ac_cv_lib_rt_sigtimedwait" >&6
 
28922
if test $ac_cv_lib_rt_sigtimedwait = yes; then
 
28923
  AUTH_LIBS="${AUTH_LIBS} -lrt"
 
28924
fi
 
28925
 
 
28926
    fi
 
28927
 
29100
28928
    echo "$as_me:$LINENO: checking how to call pam_strerror" >&5
29101
28929
echo $ECHO_N "checking how to call pam_strerror... $ECHO_C" >&6
29102
28930
    if test "${ac_cv_pam_strerror_args+set}" = set; then
29527
29355
echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getprpwnam" >&5
29528
29356
echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6
29529
29357
if test $ac_cv_lib_prot_getprpwnam = yes; then
29530
 
  PASSWD_LIBS="$PASSWD_LIBS -lprot -lcurses -lx"
 
29358
  AUTH_LIBS="$AUTH_LIBS -lprot -lcurses -lx"
29531
29359
else
29532
29360
  echo "$as_me:$LINENO: checking for getprpwnam in -lsecurity" >&5
29533
29361
echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
29594
29422
echo "$as_me:$LINENO: result: $ac_cv_lib_security_getprpwnam" >&5
29595
29423
echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
29596
29424
if test $ac_cv_lib_security_getprpwnam = yes; then
29597
 
  PASSWD_LIBS="$PASSWD_LIBS -lsecurity"
 
29425
  AUTH_LIBS="$AUTH_LIBS -lsecurity"
29598
29426
fi
29599
29427
 
29600
29428
fi
29742
29570
echo "$as_me:$LINENO: result: $ac_cv_lib_sec_bigcrypt" >&5
29743
29571
echo "${ECHO_T}$ac_cv_lib_sec_bigcrypt" >&6
29744
29572
if test $ac_cv_lib_sec_bigcrypt = yes; then
29745
 
  PASSWD_LIBS="$PASSWD_LIBS -lsec"
 
29573
  AUTH_LIBS="$AUTH_LIBS -lsec"
29746
29574
fi
29747
29575
 
29748
29576
  fi
29777
29605
fi
29778
29606
 
29779
29607
 
29780
 
#       Check for traditional (ha!) shadow passwords.
 
29608
#       Check for "traditional" shadow passwords.
29781
29609
 
29782
29610
if test "$with_shadow" = yes ; then
29783
29611
  echo "$as_me:$LINENO: checking for generic shadow passwords" >&5
29985
29813
echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
29986
29814
echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
29987
29815
if test $ac_cv_lib_gen_getspnam = yes; then
29988
 
  have_getspnam=yes; PASSWD_LIBS="$PASSWD_LIBS -lgen"
 
29816
  have_getspnam=yes; AUTH_LIBS="$AUTH_LIBS -lgen"
29989
29817
fi
29990
29818
 
29991
29819
    fi
30376
30204
echo "${ECHO_T}no" >&6
30377
30205
fi
30378
30206
 
 
30207
#
 
30208
# Enable Debug
 
30209
#
30379
30210
# Check whether --enable-debug or --disable-debug was given.
30380
30211
if test "${enable_debug+set}" = set; then
30381
30212
  enableval="$enable_debug"
30405
30236
 
30406
30237
 
30407
30238
 
 
30239
FLOATERS_FOOT_LOGO_IMAGE="${EXPANDED_DATADIR}/pixmaps/gnome-logo-white.svg"
 
30240
 
 
30241
 
30408
30242
# Menu stuff
30409
30243
 
30410
30244
GNOME_SCREENSAVER_THEMES_DIR="${EXPANDED_DATADIR}/gnome-screensaver/themes"
30412
30246
 
30413
30247
# Files
30414
30248
 
30415
 
                                                                                                              ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/cut-n-paste/Makefile data/Makefile data/gnome-screensavers.menu data/images/Makefile data/images/cosmos/Makefile savers/Makefile savers/cosmos-slideshow.desktop.in doc/Makefile"
 
30249
                                                                                                                        ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile src/cut-n-paste/Makefile data/Makefile data/gnome-screensavers.menu data/images/Makefile data/images/cosmos/Makefile savers/Makefile savers/cosmos-slideshow.desktop.in savers/footlogo-floaters.desktop.in doc/Makefile"
30416
30250
cat >confcache <<\_ACEOF
30417
30251
# This file is a shell script that caches the results of configure
30418
30252
# tests run on this system so they can be shared between configure
30512
30346
   { (exit 1); exit 1; }; }
30513
30347
fi
30514
30348
 
30515
 
   mv -f po/POTFILES po/POTFILES.tmp
30516
 
    sed -e '/[[]encoding.*]/d' -e 's/[[].*] *//' < po/POTFILES.tmp > po/POTFILES
30517
 
    rm -f po/POTFILES.tmp
 
30349
            ac_config_commands="$ac_config_commands po/stamp-it"
 
30350
 
30518
30351
 
30519
30352
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30520
30353
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
30843
30676
} >&5
30844
30677
cat >&5 <<_CSEOF
30845
30678
 
30846
 
This file was extended by gnome-screensaver $as_me 0.0.15, which was
 
30679
This file was extended by gnome-screensaver $as_me 0.0.23, which was
30847
30680
generated by GNU Autoconf 2.59.  Invocation command line was
30848
30681
 
30849
30682
  CONFIG_FILES    = $CONFIG_FILES
30906
30739
 
30907
30740
cat >>$CONFIG_STATUS <<_ACEOF
30908
30741
ac_cs_version="\\
30909
 
gnome-screensaver config.status 0.0.15
 
30742
gnome-screensaver config.status 0.0.23
30910
30743
configured by $0, generated by GNU Autoconf 2.59,
30911
30744
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
30912
30745
 
31005
30838
# INIT-COMMANDS section.
31006
30839
#
31007
30840
 
31008
 
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir=${ac_aux_dir}
31009
 
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' ICONV='${INTLTOOL_ICONV}'
31010
 
MSGFMT='${INTLTOOL_MSGFMT}' MSGMERGE='${INTLTOOL_MSGMERGE}'
31011
 
XGETTEXT='${INTLTOOL_XGETTEXT}'
 
30841
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
 
30842
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
 
30843
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
 
30844
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
 
30845
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
31012
30846
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31013
30847
 
31014
30848
 
31031
30865
  "data/images/cosmos/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/images/cosmos/Makefile" ;;
31032
30866
  "savers/Makefile" ) CONFIG_FILES="$CONFIG_FILES savers/Makefile" ;;
31033
30867
  "savers/cosmos-slideshow.desktop.in" ) CONFIG_FILES="$CONFIG_FILES savers/cosmos-slideshow.desktop.in" ;;
 
30868
  "savers/footlogo-floaters.desktop.in" ) CONFIG_FILES="$CONFIG_FILES savers/footlogo-floaters.desktop.in" ;;
31034
30869
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
31035
30870
  "intltool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
31036
30871
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
31037
30872
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
30873
  "po/stamp-it" ) CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
31038
30874
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
31039
30875
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31040
30876
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31132
30968
s,@AUTOMAKE@,$AUTOMAKE,;t t
31133
30969
s,@AUTOHEADER@,$AUTOHEADER,;t t
31134
30970
s,@MAKEINFO@,$MAKEINFO,;t t
31135
 
s,@AMTAR@,$AMTAR,;t t
31136
30971
s,@install_sh@,$install_sh,;t t
31137
30972
s,@STRIP@,$STRIP,;t t
31138
30973
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
31139
30974
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
30975
s,@mkdir_p@,$mkdir_p,;t t
31140
30976
s,@AWK@,$AWK,;t t
31141
30977
s,@SET_MAKE@,$SET_MAKE,;t t
31142
30978
s,@am__leading_dot@,$am__leading_dot,;t t
 
30979
s,@AMTAR@,$AMTAR,;t t
 
30980
s,@am__tar@,$am__tar,;t t
 
30981
s,@am__untar@,$am__untar,;t t
31143
30982
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
31144
30983
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
31145
30984
s,@MAINT@,$MAINT,;t t
31160
30999
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
31161
31000
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
31162
31001
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
 
31002
s,@INTLTOOL_SERVICE_RULE@,$INTLTOOL_SERVICE_RULE,;t t
31163
31003
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
31164
31004
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
31165
31005
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
31277
31117
s,@EXPANDED_DATADIR@,$EXPANDED_DATADIR,;t t
31278
31118
s,@DEBUG_CFLAGS@,$DEBUG_CFLAGS,;t t
31279
31119
s,@SLIDESHOW_COSMOS_DIR@,$SLIDESHOW_COSMOS_DIR,;t t
 
31120
s,@FLOATERS_FOOT_LOGO_IMAGE@,$FLOATERS_FOOT_LOGO_IMAGE,;t t
31280
31121
s,@GNOME_SCREENSAVER_THEMES_DIR@,$GNOME_SCREENSAVER_THEMES_DIR,;t t
31281
31122
s,@LIBOBJS@,$LIBOBJS,;t t
31282
31123
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
31879
31720
  case $ac_dest in
31880
31721
    intltool )
31881
31722
 
31882
 
intltool_edit="-e 's#@INTLTOOL_EXTRACT@#`pwd`/intltool-extract#g' \
31883
 
               -e 's#@INTLTOOL_ICONV@#${INTLTOOL_ICONV}#g' \
31884
 
               -e 's#@INTLTOOL_MSGFMT@#${INTLTOOL_MSGFMT}#g' \
31885
 
               -e 's#@INTLTOOL_MSGMERGE@#${INTLTOOL_MSGMERGE}#g' \
31886
 
               -e 's#@INTLTOOL_XGETTEXT@#${INTLTOOL_XGETTEXT}#g' \
31887
 
               -e 's#@INTLTOOL_PERL@#${INTLTOOL_PERL}#g'"
31888
 
 
31889
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-extract.in \
31890
 
  > intltool-extract.out
31891
 
if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then
31892
 
  rm -f intltool-extract.out
31893
 
else
31894
 
  mv -f intltool-extract.out intltool-extract
31895
 
fi
31896
 
chmod ugo+x intltool-extract
31897
 
chmod u+w intltool-extract
31898
 
 
31899
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-merge.in \
31900
 
  > intltool-merge.out
31901
 
if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then
31902
 
  rm -f intltool-merge.out
31903
 
else
31904
 
  mv -f intltool-merge.out intltool-merge
31905
 
fi
31906
 
chmod ugo+x intltool-merge
31907
 
chmod u+w intltool-merge
31908
 
 
31909
 
eval sed ${intltool_edit} < ${ac_aux_dir}/intltool-update.in \
31910
 
  > intltool-update.out
31911
 
if cmp -s intltool-update intltool-update.out 2>/dev/null; then
31912
 
  rm -f intltool-update.out
31913
 
else
31914
 
  mv -f intltool-update.out intltool-update
31915
 
fi
31916
 
chmod ugo+x intltool-update
31917
 
chmod u+w intltool-update
 
31723
for file in intltool-extract intltool-merge intltool-update; do
 
31724
  sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
 
31725
      -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
 
31726
      -e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
 
31727
      -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
 
31728
      -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
 
31729
      -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
 
31730
      -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
 
31731
        < ${ac_aux_dir}/${file}.in > ${file}.out
 
31732
  if cmp -s ${file} ${file}.out 2>/dev/null; then
 
31733
    rm -f ${file}.out
 
31734
  else
 
31735
    mv -f ${file}.out ${file}
 
31736
  fi
 
31737
  chmod ugo+x ${file}
 
31738
  chmod u+w ${file}
 
31739
done
31918
31740
 
31919
31741
 ;;
31920
31742
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
31942
31764
  else
31943
31765
    continue
31944
31766
  fi
31945
 
  grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
31946
 
  # Extract the definition of DEP_FILES from the Makefile without
31947
 
  # running `make'.
31948
 
  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
 
31767
  # Extract the definition of DEPDIR, am__include, and am__quote
 
31768
  # from the Makefile without running `make'.
 
31769
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
31949
31770
  test -z "$DEPDIR" && continue
 
31771
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
31772
  test -z "am__include" && continue
 
31773
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
31950
31774
  # When using ansi2knr, U may be empty or an underscore; expand it
31951
 
  U=`sed -n -e '/^U = / s///p' < "$mf"`
31952
 
  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
31953
 
  # We invoke sed twice because it is the simplest approach to
31954
 
  # changing $(DEPDIR) to its actual value in the expansion.
31955
 
  for file in `sed -n -e '
31956
 
    /^DEP_FILES = .*\\\\$/ {
31957
 
      s/^DEP_FILES = //
31958
 
      :loop
31959
 
        s/\\\\$//
31960
 
        p
31961
 
        n
31962
 
        /\\\\$/ b loop
31963
 
      p
31964
 
    }
31965
 
    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
 
31775
  U=`sed -n 's/^U = //p' < "$mf"`
 
31776
  # Find all dependency output files, they are included files with
 
31777
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
31778
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
31779
  # expansion.
 
31780
  for file in `sed -n "
 
31781
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
31966
31782
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
31967
31783
    # Make sure the directory exists.
31968
31784
    test -f "$dirpart/$file" && continue
32011
31827
    default-1 ) case "$CONFIG_FILES" in *po/Makefile.in*)
32012
31828
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
32013
31829
      esac ;;
 
31830
    po/stamp-it )
 
31831
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
31832
    >"po/stamp-it.tmp"
 
31833
    sed '/^#/d
 
31834
         s/^[[].*] *//
 
31835
         /^[    ]*$/d
 
31836
        '"s|^|  $ac_top_srcdir/|" \
 
31837
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
31838
 
 
31839
    if test ! -f "po/Makefile"; then
 
31840
      { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
 
31841
echo "$as_me: error: po/Makefile is not ready." >&2;}
 
31842
   { (exit 1); exit 1; }; }
 
31843
    fi
 
31844
    mv "po/Makefile" "po/Makefile.tmp"
 
31845
    sed '/^POTFILES =/,/[^\\]$/ {
 
31846
                /^POTFILES =/!d
 
31847
                r po/POTFILES
 
31848
          }
 
31849
         ' "po/Makefile.tmp" >"po/Makefile"
 
31850
    rm -f "po/Makefile.tmp"
 
31851
    mv "po/stamp-it.tmp" "po/stamp-it"
 
31852
   ;;
32014
31853
  esac
32015
31854
done
32016
31855
_ACEOF
32060
31899
        source code location:     ${srcdir}
32061
31900
        compiler:                 ${CC}
32062
31901
        cflags:                   ${CFLAGS}
 
31902
        Extension libs:           ${SAVER_LIBS}
32063
31903
        Maintainer mode:          ${USE_MAINTAINER_MODE}
32064
31904
 
 
31905
        XFree86 Xinerama:         ${use_xfree_xinerama}
 
31906
        Solaris Xinerama:         ${use_solaris_xinerama}
 
31907
        Resize-and-rotate:        ${found_randr}
 
31908
 
32065
31909
        Screen locking enabled:   ${enable_locking}
32066
31910
        Power management enabled: ${have_dpms}
32067
31911
        User switching enabled:   ${enable_user_switching}