1141
1141
--with-pam-prefix=<prefix> specify where pam files go
1142
1142
--with-gdm-config=file The location of the GDM configuration file
1143
1143
--with-doc-dir=<dir> directory to install documentation
1144
Except where noted, all of the --with options below can also take a
1147
By default, support for each of these options will be built in, if the
1148
relevant library routines exist. At run time, they will then be used
1149
only if the X server being used supports them. Each --with option has
1150
a corresponding --without option, to override building support for them
1153
Screen blanking and idle-detection options:
1155
--with-sgi-ext Include support for the SGI SCREEN_SAVER extension.
1156
1144
--with-mit-ext Include support for the MIT-SCREEN-SAVER extension.
1157
--with-xidle-ext Include support for the XIDLE extension.
1158
1145
--with-xf86gamma-ext Include support for XFree86 gamma fading.
1159
1146
--with-xscreensaverdir=dir
1160
1147
Use xscreensaver hack configs found in directory
7789
7776
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7790
7777
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7791
7778
-e 's:$: $lt_compiler_flag:'`
7792
(eval echo "\"\$as_me:7792: $lt_compile\"" >&5)
7779
(eval echo "\"\$as_me:7779: $lt_compile\"" >&5)
7793
7780
(eval "$lt_compile" 2>conftest.err)
7795
7782
cat conftest.err >&5
7796
echo "$as_me:7796: \$? = $ac_status" >&5
7783
echo "$as_me:7783: \$? = $ac_status" >&5
7797
7784
if (exit $ac_status) && test -s "$ac_outfile"; then
7798
7785
# The compiler can only warn and ignore the option if not recognized
7799
7786
# So say no if there are warnings other than the usual output.
8057
8044
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8058
8045
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8059
8046
-e 's:$: $lt_compiler_flag:'`
8060
(eval echo "\"\$as_me:8060: $lt_compile\"" >&5)
8047
(eval echo "\"\$as_me:8047: $lt_compile\"" >&5)
8061
8048
(eval "$lt_compile" 2>conftest.err)
8063
8050
cat conftest.err >&5
8064
echo "$as_me:8064: \$? = $ac_status" >&5
8051
echo "$as_me:8051: \$? = $ac_status" >&5
8065
8052
if (exit $ac_status) && test -s "$ac_outfile"; then
8066
8053
# The compiler can only warn and ignore the option if not recognized
8067
8054
# So say no if there are warnings other than the usual output.
8161
8148
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8162
8149
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8163
8150
-e 's:$: $lt_compiler_flag:'`
8164
(eval echo "\"\$as_me:8164: $lt_compile\"" >&5)
8151
(eval echo "\"\$as_me:8151: $lt_compile\"" >&5)
8165
8152
(eval "$lt_compile" 2>out/conftest.err)
8167
8154
cat out/conftest.err >&5
8168
echo "$as_me:8168: \$? = $ac_status" >&5
8155
echo "$as_me:8155: \$? = $ac_status" >&5
8169
8156
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8171
8158
# The compiler can only warn and ignore the option if not recognized
12967
12954
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12968
12955
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12969
12956
-e 's:$: $lt_compiler_flag:'`
12970
(eval echo "\"\$as_me:12970: $lt_compile\"" >&5)
12957
(eval echo "\"\$as_me:12957: $lt_compile\"" >&5)
12971
12958
(eval "$lt_compile" 2>conftest.err)
12973
12960
cat conftest.err >&5
12974
echo "$as_me:12974: \$? = $ac_status" >&5
12961
echo "$as_me:12961: \$? = $ac_status" >&5
12975
12962
if (exit $ac_status) && test -s "$ac_outfile"; then
12976
12963
# The compiler can only warn and ignore the option if not recognized
12977
12964
# So say no if there are warnings other than the usual output.
13071
13058
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13072
13059
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13073
13060
-e 's:$: $lt_compiler_flag:'`
13074
(eval echo "\"\$as_me:13074: $lt_compile\"" >&5)
13061
(eval echo "\"\$as_me:13061: $lt_compile\"" >&5)
13075
13062
(eval "$lt_compile" 2>out/conftest.err)
13077
13064
cat out/conftest.err >&5
13078
echo "$as_me:13078: \$? = $ac_status" >&5
13065
echo "$as_me:13065: \$? = $ac_status" >&5
13079
13066
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13081
13068
# The compiler can only warn and ignore the option if not recognized
14662
14649
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14663
14650
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14664
14651
-e 's:$: $lt_compiler_flag:'`
14665
(eval echo "\"\$as_me:14665: $lt_compile\"" >&5)
14652
(eval echo "\"\$as_me:14652: $lt_compile\"" >&5)
14666
14653
(eval "$lt_compile" 2>conftest.err)
14668
14655
cat conftest.err >&5
14669
echo "$as_me:14669: \$? = $ac_status" >&5
14656
echo "$as_me:14656: \$? = $ac_status" >&5
14670
14657
if (exit $ac_status) && test -s "$ac_outfile"; then
14671
14658
# The compiler can only warn and ignore the option if not recognized
14672
14659
# So say no if there are warnings other than the usual output.
14766
14753
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14767
14754
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14768
14755
-e 's:$: $lt_compiler_flag:'`
14769
(eval echo "\"\$as_me:14769: $lt_compile\"" >&5)
14756
(eval echo "\"\$as_me:14756: $lt_compile\"" >&5)
14770
14757
(eval "$lt_compile" 2>out/conftest.err)
14772
14759
cat out/conftest.err >&5
14773
echo "$as_me:14773: \$? = $ac_status" >&5
14760
echo "$as_me:14760: \$? = $ac_status" >&5
14774
14761
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14776
14763
# The compiler can only warn and ignore the option if not recognized
16990
16977
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16991
16978
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16992
16979
-e 's:$: $lt_compiler_flag:'`
16993
(eval echo "\"\$as_me:16993: $lt_compile\"" >&5)
16980
(eval echo "\"\$as_me:16980: $lt_compile\"" >&5)
16994
16981
(eval "$lt_compile" 2>conftest.err)
16996
16983
cat conftest.err >&5
16997
echo "$as_me:16997: \$? = $ac_status" >&5
16984
echo "$as_me:16984: \$? = $ac_status" >&5
16998
16985
if (exit $ac_status) && test -s "$ac_outfile"; then
16999
16986
# The compiler can only warn and ignore the option if not recognized
17000
16987
# So say no if there are warnings other than the usual output.
17258
17245
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17259
17246
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17260
17247
-e 's:$: $lt_compiler_flag:'`
17261
(eval echo "\"\$as_me:17261: $lt_compile\"" >&5)
17248
(eval echo "\"\$as_me:17248: $lt_compile\"" >&5)
17262
17249
(eval "$lt_compile" 2>conftest.err)
17264
17251
cat conftest.err >&5
17265
echo "$as_me:17265: \$? = $ac_status" >&5
17252
echo "$as_me:17252: \$? = $ac_status" >&5
17266
17253
if (exit $ac_status) && test -s "$ac_outfile"; then
17267
17254
# The compiler can only warn and ignore the option if not recognized
17268
17255
# So say no if there are warnings other than the usual output.
17362
17349
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17363
17350
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17364
17351
-e 's:$: $lt_compiler_flag:'`
17365
(eval echo "\"\$as_me:17365: $lt_compile\"" >&5)
17352
(eval echo "\"\$as_me:17352: $lt_compile\"" >&5)
17366
17353
(eval "$lt_compile" 2>out/conftest.err)
17368
17355
cat out/conftest.err >&5
17369
echo "$as_me:17369: \$? = $ac_status" >&5
17356
echo "$as_me:17356: \$? = $ac_status" >&5
17370
17357
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17372
17359
# The compiler can only warn and ignore the option if not recognized
25662
with_sgi_req=unspecified
25664
# Check whether --with-sgi-ext or --without-sgi-ext was given.
25665
if test "${with_sgi_ext+set}" = set; then
25666
withval="$with_sgi_ext"
25667
with_sgi="$withval"; with_sgi_req="$withval"
25673
case "$with_sgi" in
25678
echo "$as_me:$LINENO: checking for SGI SCREEN_SAVER headers" >&5
25679
echo $ECHO_N "checking for SGI SCREEN_SAVER headers... $ECHO_C" >&6
25680
d=$with_sgi/include
25681
if test -d $d; then
25682
X_CFLAGS="-I$d $X_CFLAGS"
25683
echo "$as_me:$LINENO: result: $d" >&5
25684
echo "${ECHO_T}$d" >&6
25686
echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
25687
echo "${ECHO_T}not found ($d: no such directory)" >&6
25690
echo "$as_me:$LINENO: checking for SGI SCREEN_SAVER libs" >&5
25691
echo $ECHO_N "checking for SGI SCREEN_SAVER libs... $ECHO_C" >&6
25693
if test -d $d; then
25694
X_LIBS="-L$d $X_LIBS"
25695
echo "$as_me:$LINENO: result: $d" >&5
25696
echo "${ECHO_T}$d" >&6
25698
echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
25699
echo "${ECHO_T}not found ($d: no such directory)" >&6
25702
# replace the directory string with "yes".
25704
with_sgi=$with_sgi_req
25709
echo "error: argument to --with-sgi-ext must be \"yes\", \"no\", or a directory."
25710
echo " If it is a directory, then \`DIR/include' will be added to"
25711
echo " the -I list, and \`DIR/lib' will be added to the -L list."
25717
if test "$with_sgi" = yes; then
25718
echo "$as_me:$LINENO: checking for X11/extensions/XScreenSaver.h" >&5
25719
echo $ECHO_N "checking for X11/extensions/XScreenSaver.h... $ECHO_C" >&6
25720
if test "${ac_cv_header_X11_extensions_XScreenSaver_h+set}" = set; then
25721
echo $ECHO_N "(cached) $ECHO_C" >&6
25723
cat >conftest.$ac_ext <<_ACEOF
25726
cat confdefs.h >>conftest.$ac_ext
25727
cat >>conftest.$ac_ext <<_ACEOF
25728
/* end confdefs.h. */
25729
#include <X11/Xlib.h>
25731
#include <X11/extensions/XScreenSaver.h>
25733
rm -f conftest.$ac_objext
25734
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25735
(eval $ac_compile) 2>conftest.er1
25737
grep -v '^ *+' conftest.er1 >conftest.err
25739
cat conftest.err >&5
25740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25741
(exit $ac_status); } &&
25742
{ ac_try='test -z "$ac_c_werror_flag"
25743
|| test ! -s conftest.err'
25744
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25745
(eval $ac_try) 2>&5
25747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748
(exit $ac_status); }; } &&
25749
{ ac_try='test -s conftest.$ac_objext'
25750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25751
(eval $ac_try) 2>&5
25753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754
(exit $ac_status); }; }; then
25755
ac_cv_header_X11_extensions_XScreenSaver_h=yes
25757
echo "$as_me: failed program was:" >&5
25758
sed 's/^/| /' conftest.$ac_ext >&5
25760
ac_cv_header_X11_extensions_XScreenSaver_h=no
25762
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25764
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_XScreenSaver_h" >&5
25765
echo "${ECHO_T}$ac_cv_header_X11_extensions_XScreenSaver_h" >&6
25766
if test $ac_cv_header_X11_extensions_XScreenSaver_h = yes; then
25769
cat >>confdefs.h <<\_ACEOF
25770
#define HAVE_SGI_SAVER_EXTENSION 1
25777
elif test "$with_sgi" != no; then
25778
echo "error: must be yes or no: --with-sgi-ext=$with_sgi"
25784
25649
with_mit_req=unspecified
26206
with_xidle_req=unspecified
26208
# Check whether --with-xidle-ext or --without-xidle-ext was given.
26209
if test "${with_xidle_ext+set}" = set; then
26210
withval="$with_xidle_ext"
26211
with_xidle="$withval"; with_xidle_req="$withval"
26217
case "$with_xidle" in
26222
echo "$as_me:$LINENO: checking for XIDLE headers" >&5
26223
echo $ECHO_N "checking for XIDLE headers... $ECHO_C" >&6
26224
d=$with_xidle/include
26225
if test -d $d; then
26226
X_CFLAGS="-I$d $X_CFLAGS"
26227
echo "$as_me:$LINENO: result: $d" >&5
26228
echo "${ECHO_T}$d" >&6
26230
echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
26231
echo "${ECHO_T}not found ($d: no such directory)" >&6
26234
echo "$as_me:$LINENO: checking for XIDLE libs" >&5
26235
echo $ECHO_N "checking for XIDLE libs... $ECHO_C" >&6
26237
if test -d $d; then
26238
X_LIBS="-L$d $X_LIBS"
26239
echo "$as_me:$LINENO: result: $d" >&5
26240
echo "${ECHO_T}$d" >&6
26242
echo "$as_me:$LINENO: result: not found ($d: no such directory)" >&5
26243
echo "${ECHO_T}not found ($d: no such directory)" >&6
26246
# replace the directory string with "yes".
26247
with_xidle_req="yes"
26248
with_xidle=$with_xidle_req
26253
echo "error: argument to --with-xidle-ext must be \"yes\", \"no\", or a directory."
26254
echo " If it is a directory, then \`DIR/include' will be added to"
26255
echo " the -I list, and \`DIR/lib' will be added to the -L list."
26261
if test "$with_xidle" = yes; then
26263
ac_save_CPPFLAGS="$CPPFLAGS"
26264
if test \! -z "$includedir" ; then
26265
CPPFLAGS="$CPPFLAGS -I$includedir"
26267
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
26268
echo "$as_me:$LINENO: checking for X11/extensions/xidle.h" >&5
26269
echo $ECHO_N "checking for X11/extensions/xidle.h... $ECHO_C" >&6
26270
if test "${ac_cv_header_X11_extensions_xidle_h+set}" = set; then
26271
echo $ECHO_N "(cached) $ECHO_C" >&6
26273
cat >conftest.$ac_ext <<_ACEOF
26276
cat confdefs.h >>conftest.$ac_ext
26277
cat >>conftest.$ac_ext <<_ACEOF
26278
/* end confdefs.h. */
26279
#include <X11/Xlib.h>
26281
#include <X11/extensions/xidle.h>
26283
rm -f conftest.$ac_objext
26284
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26285
(eval $ac_compile) 2>conftest.er1
26287
grep -v '^ *+' conftest.er1 >conftest.err
26289
cat conftest.err >&5
26290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291
(exit $ac_status); } &&
26292
{ ac_try='test -z "$ac_c_werror_flag"
26293
|| test ! -s conftest.err'
26294
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26295
(eval $ac_try) 2>&5
26297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298
(exit $ac_status); }; } &&
26299
{ ac_try='test -s conftest.$ac_objext'
26300
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26301
(eval $ac_try) 2>&5
26303
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304
(exit $ac_status); }; }; then
26305
ac_cv_header_X11_extensions_xidle_h=yes
26307
echo "$as_me: failed program was:" >&5
26308
sed 's/^/| /' conftest.$ac_ext >&5
26310
ac_cv_header_X11_extensions_xidle_h=no
26312
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26314
echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xidle_h" >&5
26315
echo "${ECHO_T}$ac_cv_header_X11_extensions_xidle_h" >&6
26316
if test $ac_cv_header_X11_extensions_xidle_h = yes; then
26319
cat >>confdefs.h <<\_ACEOF
26320
#define HAVE_XIDLE_EXTENSION 1
26326
CPPFLAGS="$ac_save_CPPFLAGS"
26327
elif test "$with_xidle" != no; then
26328
echo "error: must be yes or no: --with-xidle-ext=$with_xidle"
26333
26070
have_xf86vmode=no
26334
26071
have_xf86gamma=no
26335
26072
have_xf86gamma_ramp=no