817
819
Fine tuning of the installation directories:
818
820
--bindir=DIR user executables [EPREFIX/bin]
819
--sbindir=DIR system admin executables [EPREFIX/sbin]
820
821
--libexecdir=DIR program executables [EPREFIX/libexec]
821
822
--datadir=DIR read-only architecture-independent data [PREFIX/share]
822
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
825
823
--libdir=DIR object code libraries [EPREFIX/lib]
826
824
--includedir=DIR C header files [PREFIX/include]
827
--oldincludedir=DIR C header files for non-gcc [/usr/include]
828
--infodir=DIR info documentation [PREFIX/info]
825
--x-includes=DIR X include files are in DIR
826
--x-libraries=DIR X library files are in DIR
829
827
--mandir=DIR man documentation [PREFIX/man]
856
854
Optional Packages:
857
855
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
858
856
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
859
--with-x use the X Window System
862
858
Installation options:
863
859
--with-hackdir=DIR Where to install the hundreds of demo executables.
864
Default: `EPREFIX/lib/xscreensaver/'
860
Default: `PREFIX/libexec/xscreensaver/'
865
861
--with-configdir=DIR Where to install the data files that describe each
866
862
of the display modes to the GUI.
867
863
Default: `PREFIX/share/xscreensaver/config/'
890
886
--with-proc-interrupts Include support for consulting the /proc/interrupts
891
887
file to notice keyboard activity.
892
888
--with-pam Include support for PAM (Pluggable Auth Modules.)
889
--with-pam-service-name=NAME
890
NAME is the name of the PAM service that
891
xscreensaver will authenticate as.
893
892
--with-kerberos Include support for Kerberos authentication.
894
893
--with-shadow Include support for shadow password authentication.
895
894
--with-passwd-helper Include support for an external password
917
916
--with-xshm-ext Include support for the Shared Memory extension.
918
917
--with-xdbe-ext Include support for the DOUBLE-BUFFER extension.
919
918
--with-readdisplay Include support for the XReadDisplay extension.
920
--with-image-directory=DIR By default, some screen savers may load
921
random images out of this directory.
919
--with-image-directory=DIR By default, some demos may display random images
921
--with-text-file=FILE By default, some demos may display this file.
922
922
--with-setuid-hacks Allow some demos to be installed `setuid root'
923
923
(which is needed in order to ping other hosts.)
1376
1376
echo "current directory: `pwd`"
1377
1377
echo "command line was: $0 $@"
1379
###############################################################################
1383
###############################################################################
1380
1546
# After checking to see that --srcdir is correct (which AC_INIT does)
1381
1547
# check for some random other files that come later in the tar file,
5209
5404
PERL=/usr/bin/perl
5213
if test "x$ac_path_x_has_been_run" != xyes; then
5214
echo "$as_me:$LINENO: checking for X" >&5
5407
echo "$as_me:$LINENO: checking for X" >&5
5215
5408
echo $ECHO_N "checking for X... $ECHO_C" >&6
5217
ac_path_x_has_been_run=yes
5219
5411
# Check whether --with-x or --without-x was given.
5220
5412
if test "${with_x+set}" = set; then
5307
5499
/usr/openwin/share/include'
5309
5501
if test "$ac_x_includes" = no; then
5310
# Guess where to find include files, by looking for a specified header file.
5502
# Guess where to find include files, by looking for Intrinsic.h.
5311
5503
# First, try using that file with no special directory specified.
5312
5504
cat >conftest.$ac_ext <<_ACEOF
5313
5505
/* confdefs.h. */
5441
5634
# Update the cache value to reflect the command line values.
5442
5635
ac_cv_have_x="have_x=yes \
5443
5636
ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5444
# It might be that x_includes is empty (headers are found in the
5445
# standard search path. Then output the corresponding message
5446
ac_out_x_includes=$x_includes
5447
test "x$x_includes" = x && ac_out_x_includes="in standard search path"
5448
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
5449
echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
5637
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5638
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5453
5641
if test "$no_x" = yes; then
5454
5642
# Not all programs may use this symbol, but it does not hurt to define it.
6962
7167
echo "${ECHO_T}$ac_macosx" >&6
7170
if test "$ac_macosx" = yes; then
7171
if test -n "$GCC"; then
7172
# Without these, every link against libGL gets a bunch of useless warnings.
7173
osx_crud="-bind_at_load -multiply_defined suppress"
7174
echo "$as_me:$LINENO: result: adding \"$osx_crud\" to LDFLAGS" >&5
7175
echo "${ECHO_T}adding \"$osx_crud\" to LDFLAGS" >&6
7176
LDFLAGS="$LDFLAGS $osx_crud"
6966
7180
###############################################################################
7092
7306
GETTEXT_PACKAGE=xscreensaver
7093
7308
cat >>confdefs.h <<_ACEOF
7094
7309
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
7097
7313
cat >>confdefs.h <<_ACEOF
7098
7314
#define PACKAGE "$GETTEXT_PACKAGE"
7103
ALL_LINGUAS="ca da de es et fi fr hu it ja ko nl no pl pt pt_BR ru sk sv vi wa zh_CN zh_TW"
7319
ALL_LINGUAS="ca da de es et fi fr hu it ja ko nb nl no pl pt pt_BR ru sk sv vi wa zh_CN zh_TW"
7104
7320
if test -n "$ac_tool_prefix"; then
7105
7321
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7106
7322
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14092
14384
ac_cv_login_manager_program=""
14094
14386
if test "$with_login_manager_req" = "yes" ; then
14095
with_login_manager=$default_login_manager
14387
with_login_manager_req=$default_login_manager
14098
# case "$with_login_manager_req" in
14101
# set dummy $with_login_manager_req ; login_manager_tmp=$2
14102
# AC_MSG_CHECKING([for $login_manager_tmp])
14103
# if test -x "$login_manager_tmp" ; then
14104
# AC_MSG_RESULT(yes)
14105
# with_login_manager="$login_manager_tmp"
14107
# AC_MSG_RESULT(no)
14108
# with_login_manager=""
14113
# set dummy $with_login_manager_req ; login_manager_tmp=$2
14115
# unset ac_cv_path_login_manager_tmp
14116
# AC_PATH_PROG(login_manager_tmp, $login_manager_tmp, [])
14117
# if test -z "$login_manager_tmp" ; then
14118
# with_login_manager=""
14120
# with_login_manager="$login_manager_tmp"
14390
case "$with_login_manager_req" in
14393
set dummy $with_login_manager_req ; login_manager_tmp=$2
14394
echo "$as_me:$LINENO: checking for $login_manager_tmp" >&5
14395
echo $ECHO_N "checking for $login_manager_tmp... $ECHO_C" >&6
14396
if test -x "$login_manager_tmp" ; then
14397
echo "$as_me:$LINENO: result: yes" >&5
14398
echo "${ECHO_T}yes" >&6
14400
echo "$as_me:$LINENO: result: no" >&5
14401
echo "${ECHO_T}no" >&6
14402
with_login_manager=""
14407
set dummy $with_login_manager_req ; login_manager_tmp=$2
14409
unset ac_cv_path_login_manager_tmp
14410
# Extract the first word of "$login_manager_tmp", so it can be a program name with args.
14411
set dummy $login_manager_tmp; ac_word=$2
14412
echo "$as_me:$LINENO: checking for $ac_word" >&5
14413
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14414
if test "${ac_cv_path_login_manager_tmp+set}" = set; then
14415
echo $ECHO_N "(cached) $ECHO_C" >&6
14417
case $login_manager_tmp in
14419
ac_cv_path_login_manager_tmp="$login_manager_tmp" # Let the user override the test with a path.
14422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14423
for as_dir in $PATH
14426
test -z "$as_dir" && as_dir=.
14427
for ac_exec_ext in '' $ac_executable_extensions; do
14428
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14429
ac_cv_path_login_manager_tmp="$as_dir/$ac_word$ac_exec_ext"
14430
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14439
login_manager_tmp=$ac_cv_path_login_manager_tmp
14441
if test -n "$login_manager_tmp"; then
14442
echo "$as_me:$LINENO: result: $login_manager_tmp" >&5
14443
echo "${ECHO_T}$login_manager_tmp" >&6
14445
echo "$as_me:$LINENO: result: no" >&5
14446
echo "${ECHO_T}no" >&6
14449
if test -z "$login_manager_tmp" ; then
14450
with_login_manager=""
14452
with_login_manager="$login_manager_tmp"
14124
14456
ac_cv_login_manager_program="$with_login_manager"
14126
14458
elif test -n "$ac_cv_login_manager_program"; then
18037
18400
# LIBS="$ac_save_LIBS"
18403
if test "$ac_have_forkpty" != yes ; then
18404
# we don't need (or have) -lutil on MacOS 10.4.2...
18406
ac_save_CPPFLAGS="$CPPFLAGS"
18407
ac_save_LDFLAGS="$LDFLAGS"
18408
# ac_save_LIBS="$LIBS"
18410
if test \! -z "$includedir" ; then
18411
CPPFLAGS="$CPPFLAGS -I$includedir"
18413
# note: $X_CFLAGS includes $x_includes
18414
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
18416
if test \! -z "$libdir" ; then
18417
LDFLAGS="$LDFLAGS -L$libdir"
18419
# note: $X_LIBS includes $x_libraries
18420
LDFLAGS="$LDFLAGS $X_LIBS $X_EXTRA_LIBS"
18422
echo "$as_me:$LINENO: checking for forkpty in -lc" >&5
18423
echo $ECHO_N "checking for forkpty in -lc... $ECHO_C" >&6
18424
if test "${ac_cv_lib_c_forkpty+set}" = set; then
18425
echo $ECHO_N "(cached) $ECHO_C" >&6
18427
ac_check_lib_save_LIBS=$LIBS
18429
cat >conftest.$ac_ext <<_ACEOF
18432
cat confdefs.h >>conftest.$ac_ext
18433
cat >>conftest.$ac_ext <<_ACEOF
18434
/* end confdefs.h. */
18436
/* Override any gcc2 internal prototype to avoid an error. */
18440
/* We use char because int might match the return type of a gcc2
18441
builtin and then its argument prototype would still apply. */
18451
rm -f conftest.$ac_objext conftest$ac_exeext
18452
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18453
(eval $ac_link) 2>conftest.er1
18455
grep -v '^ *+' conftest.er1 >conftest.err
18457
cat conftest.err >&5
18458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459
(exit $ac_status); } &&
18460
{ ac_try='test -z "$ac_c_werror_flag"
18461
|| test ! -s conftest.err'
18462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18463
(eval $ac_try) 2>&5
18465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466
(exit $ac_status); }; } &&
18467
{ ac_try='test -s conftest$ac_exeext'
18468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18469
(eval $ac_try) 2>&5
18471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18472
(exit $ac_status); }; }; then
18473
ac_cv_lib_c_forkpty=yes
18475
echo "$as_me: failed program was:" >&5
18476
sed 's/^/| /' conftest.$ac_ext >&5
18478
ac_cv_lib_c_forkpty=no
18480
rm -f conftest.err conftest.$ac_objext \
18481
conftest$ac_exeext conftest.$ac_ext
18482
LIBS=$ac_check_lib_save_LIBS
18484
echo "$as_me:$LINENO: result: $ac_cv_lib_c_forkpty" >&5
18485
echo "${ECHO_T}$ac_cv_lib_c_forkpty" >&6
18486
if test $ac_cv_lib_c_forkpty = yes; then
18488
cat >>confdefs.h <<\_ACEOF
18489
#define HAVE_FORKPTY 1
18494
CPPFLAGS="$ac_save_CPPFLAGS"
18495
LDFLAGS="$ac_save_LDFLAGS"
18496
# LIBS="$ac_save_LIBS"
18041
18500
###############################################################################
18938
19403
###############################################################################
19405
# Pick a text file to use as the default of the "textFile" preference.
19406
# Any old file will do, but preferably one that will make interesting
19407
# shapes when displayed by "starwars" and "fontglide".
19409
###############################################################################
19412
with_textfile_req=unspecified
19415
# Check whether --with-text-file or --without-text-file was given.
19416
if test "${with_text_file+set}" = set; then
19417
withval="$with_text_file"
19418
with_textfile="$withval"; with_textfile_req="$withval"
19422
# no HANDLE_X_PATH_ARG for this one
19424
case "$with_textfile" in
19427
echo "$as_me:$LINENO: checking for image directory $with_textfile" >&5
19428
echo $ECHO_N "checking for image directory $with_textfile... $ECHO_C" >&6
19429
if test -d "$with_textfile" ; then
19430
echo "$as_me:$LINENO: result: yes" >&5
19431
echo "${ECHO_T}yes" >&6
19433
echo "$as_me:$LINENO: result: no" >&5
19434
echo "${ECHO_T}no" >&6
19441
#### Could use some more defaults here...
19443
"/usr/X11R6/lib/X11/doc/README" \
19444
"/usr/share/doc/xserver-common/copyright" \
19445
"/usr/X11R6/README" \
19447
if test -z "$with_textfile"; then
19448
echo "$as_me:$LINENO: checking for text file $f" >&5
19449
echo $ECHO_N "checking for text file $f... $ECHO_C" >&6
19450
if test -f "$f" ; then
19451
echo "$as_me:$LINENO: result: yes" >&5
19452
echo "${ECHO_T}yes" >&6
19455
echo "$as_me:$LINENO: result: no" >&5
19456
echo "${ECHO_T}no" >&6
19467
echo "error: must be an absolute path: --with-image-directory=$with_textfile_req"
19471
ac_cv_textfile="$with_textfile"
19473
DEFAULT_TEXT_FILE="$ac_cv_textfile"
19476
###############################################################################
18940
19478
# Check whether it's ok to install some hacks as setuid (e.g., "sonar")
18941
19479
# This should be safe, but let's give people the option.
19943
20482
s,@POFILES@,$POFILES,;t t
19944
20483
s,@POSUB@,$POSUB,;t t
19945
20484
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20485
s,@login_manager_tmp@,$login_manager_tmp,;t t
19946
20486
s,@pkg_config@,$pkg_config,;t t
19947
20487
s,@gnome_open_program@,$gnome_open_program,;t t
19948
20488
s,@gnome_url_show_program@,$gnome_url_show_program,;t t
19971
20511
s,@NEW_LOGIN_COMMAND_P@,$NEW_LOGIN_COMMAND_P,;t t
19972
20512
s,@DEFAULT_IMAGES_P@,$DEFAULT_IMAGES_P,;t t
19973
20513
s,@DEFAULT_IMAGE_DIRECTORY@,$DEFAULT_IMAGE_DIRECTORY,;t t
20514
s,@DEFAULT_TEXT_FILE@,$DEFAULT_TEXT_FILE,;t t
19974
20515
s,@OBJCC@,$OBJCC,;t t
19975
20516
s,@EXES_OSX@,$EXES_OSX,;t t
19976
20517
s,@SCRIPTS_OSX@,$SCRIPTS_OSX,;t t
20172
20713
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20716
if test x"$ac_file" != x-; then
20717
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20718
echo "$as_me: creating $ac_file" >&6;}
20175
20721
# Let's still pretend it is `configure' which instantiates (i.e., don't
20176
20722
# use $as_me), people would be surprised to read:
20177
20723
# /* config.h. Generated by config.status. */