comparison configure @ 44994:27ae12d5d8e5

Regenerated.
author Colin Walters <walters@gnu.org>
date Mon, 29 Apr 2002 23:03:27 +0000
parents 01b93e5e53a7
children 6ff64f2aa959
comparison
equal deleted inserted replaced
44993:af7f01359857 44994:27ae12d5d8e5
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53a. 3 # Generated by GNU Autoconf 2.53.
4 # 4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc. 6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation 7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it. 8 # gives unlimited permission to copy, distribute and modify it.
9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
9 ## --------------------- ## 17 ## --------------------- ##
10 ## M4sh Initialization. ## 18 ## M4sh Initialization. ##
11 ## --------------------- ## 19 ## --------------------- ##
12 20
13 # Be Bourne compatible 21 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh 23 emulate sh
16 NULLCMD=: 24 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix 26 set -o posix
22 fi 27 fi
23 28
24 # NLS nuisances. 29 # NLS nuisances.
53 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
54 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
55 { LC_MESSAGES=C; export LC_MESSAGES; } 60 { LC_MESSAGES=C; export LC_MESSAGES; }
56 61
57 62
58 # Required to use basename.
59 if expr a : '\(a\)' >/dev/null 2>&1; then
60 as_expr=expr
61 else
62 as_expr=false
63 fi
64
65 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 as_basename=basename
67 else
68 as_basename=false
69 fi
70
71
72 # Name of the executable. 63 # Name of the executable.
73 as_me=`$as_basename "$0" || 64 as_me=`(basename "$0") 2>/dev/null ||
74 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75 X"$0" : 'X\(//\)$' \| \ 66 X"$0" : 'X\(//\)$' \| \
76 X"$0" : 'X\(/\)$' \| \ 67 X"$0" : 'X\(/\)$' \| \
77 . : '\(.\)' 2>/dev/null || 68 . : '\(.\)' 2>/dev/null ||
78 echo X/"$0" | 69 echo X/"$0" |
79 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
80 /^X\/\(\/\/\)$/{ s//\1/; q; } 71 /^X\/\(\/\/\)$/{ s//\1/; q; }
81 /^X\/\(\/\).*/{ s//\1/; q; } 72 /^X\/\(\/\).*/{ s//\1/; q; }
82 s/.*/./; q'` 73 s/.*/./; q'`
83
84 74
85 # PATH needs CR, and LINENO needs CR and PATH. 75 # PATH needs CR, and LINENO needs CR and PATH.
86 # Avoid depending upon Character Ranges. 76 # Avoid depending upon Character Ranges.
87 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
88 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
146 as_lineno_1=$LINENO 136 as_lineno_1=$LINENO
147 as_lineno_2=$LINENO 137 as_lineno_2=$LINENO
148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
149 test "x$as_lineno_1" != "x$as_lineno_2" && 139 test "x$as_lineno_1" != "x$as_lineno_2" &&
150 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
151 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
152 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
153 CONFIG_SHELL=$as_dir/$as_base 141 CONFIG_SHELL=$as_dir/$as_base
154 export CONFIG_SHELL 142 export CONFIG_SHELL
155 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 fi;; 144 fi;;
157 esac 145 esac
219 as_ln_s=ln 207 as_ln_s=ln
220 else 208 else
221 as_ln_s='cp -p' 209 as_ln_s='cp -p'
222 fi 210 fi
223 rm -f conf$$ conf$$.exe conf$$.file 211 rm -f conf$$ conf$$.exe conf$$.file
224
225 if mkdir -p . 2>/dev/null; then
226 as_mkdir_p=:
227 else
228 as_mkdir_p=false
229 fi
230 212
231 as_executable_p="test -f" 213 as_executable_p="test -f"
232 214
233 # Sed expression to map a string onto a valid CPP name. 215 # Sed expression to map a string onto a valid CPP name.
234 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
924 ac_top_srcdir=$ac_top_builddir$srcdir ;; 906 ac_top_srcdir=$ac_top_builddir$srcdir ;;
925 esac 907 esac
926 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 908 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
927 # absolute. 909 # absolute.
928 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 910 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
929 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 911 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
930 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 912 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
931 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 913 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
932 914
933 cd $ac_dir 915 cd $ac_dir
934 # Check for guested configure; otherwise get Cygnus style configure. 916 # Check for guested configure; otherwise get Cygnus style configure.
964 cat >&5 <<_ACEOF 946 cat >&5 <<_ACEOF
965 This file contains any messages produced by compilers while 947 This file contains any messages produced by compilers while
966 running configure, to aid debugging if configure makes a mistake. 948 running configure, to aid debugging if configure makes a mistake.
967 949
968 It was created by $as_me, which was 950 It was created by $as_me, which was
969 generated by GNU Autoconf 2.53a. Invocation command line was 951 generated by GNU Autoconf 2.53. Invocation command line was
970 952
971 $ $0 $@ 953 $ $0 $@
972 954
973 _ACEOF 955 _ACEOF
974 { 956 {
1233 1215
1234 1216
1235 1217
1236 1218
1237 1219
1238 1220 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1239 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
1240 1221
1241 1222
1242 test "$program_prefix" != NONE && 1223 test "$program_prefix" != NONE &&
1243 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1224 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1244 # Use a double $ so make ignores it. 1225 # Use a double $ so make ignores it.
1264 1245
1265 1246
1266 # Check whether --with-game-dir or --without-game-dir was given. 1247 # Check whether --with-game-dir or --without-game-dir was given.
1267 if test "${with_game_dir+set}" = set; then 1248 if test "${with_game_dir+set}" = set; then
1268 withval="$with_game_dir" 1249 withval="$with_game_dir"
1269 if test "$withval" = yes; then 1250
1270 gamedir="${localstatedir}/games/emacs" 1251 gamedir="$withval"
1271 else
1272 if test "$withval" = no; then
1273 gamedir=no
1274 else
1275 gamedir="$withval"
1276 fi
1277 fi
1278 1252
1279 fi; 1253 fi;
1254 if test "$gamedir" = yes; then
1255 gamedir="${localstatedir}/games/emacs"
1256 fi
1257 eval tgamedir=\"$gamedir\"
1258 if test "$gamedir" != no; then
1259
1260 cat >>confdefs.h <<_ACEOF
1261 #define HAVE_SHARED_GAME_DIR "$tgamedir"
1262 _ACEOF
1263
1264 fi
1280 1265
1281 gameuser=games 1266 gameuser=games
1282 1267
1283 # Check whether --with-game-user or --without-game-user was given. 1268 # Check whether --with-game-user or --without-game-user was given.
1284 if test "${with_game_user+set}" = set; then 1269 if test "${with_game_user+set}" = set; then
2932 ac_cv_exeext= 2917 ac_cv_exeext=
2933 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 2918 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2934 ls a.out conftest 2>/dev/null; 2919 ls a.out conftest 2>/dev/null;
2935 ls a.* conftest.* 2>/dev/null`; do 2920 ls a.* conftest.* 2>/dev/null`; do
2936 case $ac_file in 2921 case $ac_file in
2937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2922 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2938 a.out ) # We found the default executable, but exeext='' is most 2923 a.out ) # We found the default executable, but exeext='' is most
2939 # certainly right. 2924 # certainly right.
2940 break;; 2925 break;;
2941 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2926 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2942 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 2927 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
3006 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3007 # work properly (i.e., refer to `conftest.exe'), while it won't with 2992 # work properly (i.e., refer to `conftest.exe'), while it won't with
3008 # `rm'. 2993 # `rm'.
3009 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 2994 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
3010 case $ac_file in 2995 case $ac_file in
3011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2996 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
3012 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2997 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3013 export ac_cv_exeext 2998 export ac_cv_exeext
3014 break;; 2999 break;;
3015 * ) break;; 3000 * ) break;;
3016 esac 3001 esac
3057 ac_status=$? 3042 ac_status=$?
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; then 3044 (exit $ac_status); }; then
3060 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3061 case $ac_file in 3046 case $ac_file in
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 3047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
3063 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3064 break;; 3049 break;;
3065 esac 3050 esac
3066 done 3051 done
3067 else 3052 else
3190 CFLAGS="-O2" 3175 CFLAGS="-O2"
3191 else 3176 else
3192 CFLAGS= 3177 CFLAGS=
3193 fi 3178 fi
3194 fi 3179 fi
3195 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3196 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3197 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 else
3200 ac_cv_prog_cc_stdc=no
3201 ac_save_CC=$CC
3202 cat >conftest.$ac_ext <<_ACEOF
3203 #line $LINENO "configure"
3204 #include "confdefs.h"
3205 #include <stdarg.h>
3206 #include <stdio.h>
3207 #include <sys/types.h>
3208 #include <sys/stat.h>
3209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3210 struct buf { int x; };
3211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3212 static char *e (p, i)
3213 char **p;
3214 int i;
3215 {
3216 return p[i];
3217 }
3218 static char *f (char * (*g) (char **, int), char **p, ...)
3219 {
3220 char *s;
3221 va_list v;
3222 va_start (v,p);
3223 s = g (p, va_arg (v,int));
3224 va_end (v);
3225 return s;
3226 }
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3231 int argc;
3232 char **argv;
3233 #ifdef F77_DUMMY_MAIN
3234 # ifdef __cplusplus
3235 extern "C"
3236 # endif
3237 int F77_DUMMY_MAIN() { return 1; }
3238 #endif
3239 int
3240 main ()
3241 {
3242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3243 ;
3244 return 0;
3245 }
3246 _ACEOF
3247 # Don't try gcc -ansi; that turns off useful extensions and
3248 # breaks some systems' header files.
3249 # AIX -qlanglvl=ansi
3250 # Ultrix and OSF/1 -std1
3251 # HP-UX 10.20 and later -Ae
3252 # HP-UX older versions -Aa -D_HPUX_SOURCE
3253 # SVR4 -Xc -D__EXTENSIONS__
3254 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3255 do
3256 CC="$ac_save_CC $ac_arg"
3257 rm -f conftest.$ac_objext
3258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3259 (eval $ac_compile) 2>&5
3260 ac_status=$?
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } &&
3263 { ac_try='test -s conftest.$ac_objext'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265 (eval $ac_try) 2>&5
3266 ac_status=$?
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; }; then
3269 ac_cv_prog_cc_stdc=$ac_arg
3270 break
3271 else
3272 echo "$as_me: failed program was:" >&5
3273 cat conftest.$ac_ext >&5
3274 fi
3275 rm -f conftest.$ac_objext
3276 done
3277 rm -f conftest.$ac_ext conftest.$ac_objext
3278 CC=$ac_save_CC
3279
3280 fi
3281
3282 case "x$ac_cv_prog_cc_stdc" in
3283 x|xno)
3284 echo "$as_me:$LINENO: result: none needed" >&5
3285 echo "${ECHO_T}none needed" >&6 ;;
3286 *)
3287 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3288 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3289 CC="$CC $ac_cv_prog_cc_stdc" ;;
3290 esac
3291
3292 # Some people use a C++ compiler to compile C. Since we use `exit', 3180 # Some people use a C++ compiler to compile C. Since we use `exit',
3293 # in C++ we need to declare it. In case someone uses the same compiler 3181 # in C++ we need to declare it. In case someone uses the same compiler
3294 # for both compiling C and C++ we need to have the C++ compiler decide 3182 # for both compiling C and C++ we need to have the C++ compiler decide
3295 # the declaration of exit, since it's the most demanding environment. 3183 # the declaration of exit, since it's the most demanding environment.
3296 cat >conftest.$ac_ext <<_ACEOF 3184 cat >conftest.$ac_ext <<_ACEOF
5722 5610
5723 fi 5611 fi
5724 5612
5725 5613
5726 5614
5615 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5616 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5617 if test "${ac_cv_prog_cc_stdc+set}" = set; then
5618 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 else
5620 ac_cv_prog_cc_stdc=no
5621 ac_save_CC=$CC
5622 cat >conftest.$ac_ext <<_ACEOF
5623 #line $LINENO "configure"
5624 #include "confdefs.h"
5625 #include <stdarg.h>
5626 #include <stdio.h>
5627 #include <sys/types.h>
5628 #include <sys/stat.h>
5629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5630 struct buf { int x; };
5631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5632 static char *e (p, i)
5633 char **p;
5634 int i;
5635 {
5636 return p[i];
5637 }
5638 static char *f (char * (*g) (char **, int), char **p, ...)
5639 {
5640 char *s;
5641 va_list v;
5642 va_start (v,p);
5643 s = g (p, va_arg (v,int));
5644 va_end (v);
5645 return s;
5646 }
5647 int test (int i, double x);
5648 struct s1 {int (*f) (int a);};
5649 struct s2 {int (*f) (double a);};
5650 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5651 int argc;
5652 char **argv;
5653 #ifdef F77_DUMMY_MAIN
5654 # ifdef __cplusplus
5655 extern "C"
5656 # endif
5657 int F77_DUMMY_MAIN() { return 1; }
5658 #endif
5659 int
5660 main ()
5661 {
5662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5663 ;
5664 return 0;
5665 }
5666 _ACEOF
5667 # Don't try gcc -ansi; that turns off useful extensions and
5668 # breaks some systems' header files.
5669 # AIX -qlanglvl=ansi
5670 # Ultrix and OSF/1 -std1
5671 # HP-UX 10.20 and later -Ae
5672 # HP-UX older versions -Aa -D_HPUX_SOURCE
5673 # SVR4 -Xc -D__EXTENSIONS__
5674 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5675 do
5676 CC="$ac_save_CC $ac_arg"
5677 rm -f conftest.$ac_objext
5678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5679 (eval $ac_compile) 2>&5
5680 ac_status=$?
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); } &&
5683 { ac_try='test -s conftest.$ac_objext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 (eval $ac_try) 2>&5
5686 ac_status=$?
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5689 ac_cv_prog_cc_stdc=$ac_arg
5690 break
5691 else
5692 echo "$as_me: failed program was:" >&5
5693 cat conftest.$ac_ext >&5
5694 fi
5695 rm -f conftest.$ac_objext
5696 done
5697 rm -f conftest.$ac_ext conftest.$ac_objext
5698 CC=$ac_save_CC
5699
5700 fi
5701
5702 case "x$ac_cv_prog_cc_stdc" in
5703 x|xno)
5704 echo "$as_me:$LINENO: result: none needed" >&5
5705 echo "${ECHO_T}none needed" >&6 ;;
5706 *)
5707 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5708 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5709 CC="$CC $ac_cv_prog_cc_stdc" ;;
5710 esac
5711
5727 echo "$as_me:$LINENO: checking for function prototypes" >&5 5712 echo "$as_me:$LINENO: checking for function prototypes" >&5
5728 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 5713 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
5729 if test "$ac_cv_prog_cc_stdc" != no; then 5714 if test "$ac_cv_prog_cc_stdc" != no; then
5730 echo "$as_me:$LINENO: result: yes" >&5 5715 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6 5716 echo "${ECHO_T}yes" >&6
6034 _ACEOF 6019 _ACEOF
6035 6020
6036 fi 6021 fi
6037 6022
6038 6023
6039 if test "$gamedir" = no; then :
6040 else
6041 echo "$as_me:$LINENO: checking for access to game group \"$gameuser\"" >&5
6042 echo $ECHO_N "checking for access to game group \"$gameuser\"... $ECHO_C" >&6
6043 rm -f conf$$chown.file
6044 touch conf$$chown.file
6045 if chown "$gameuser" conf$$chown.file 1>/dev/null 2>&1; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6048 if test "$gamedir" = "yes"; then
6049 gamedir="${localstatedir}/games/emacs"
6050 fi
6051 eval tgamedir=\"$gamedir\"
6052
6053 cat >>confdefs.h <<_ACEOF
6054 #define HAVE_SHARED_GAME_DIR "$tgamedir"
6055 _ACEOF
6056
6057 else
6058 echo "$as_me:$LINENO: result: no" >&5
6059 echo "${ECHO_T}no" >&6
6060 gamedir=no
6061 fi
6062 fi
6063 #### Choose a window system. 6024 #### Choose a window system.
6064 6025
6065 echo "$as_me:$LINENO: checking for X" >&5 6026 echo "$as_me:$LINENO: checking for X" >&5
6066 echo $ECHO_N "checking for X... $ECHO_C" >&6 6027 echo $ECHO_N "checking for X... $ECHO_C" >&6
6067 6028
9969 else 9930 else
9970 if test -n "$liblockfile"; then 9931 if test -n "$liblockfile"; then
9971 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. 9932 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
9972 else 9933 else
9973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9974 as_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH" 9935 for as_dir in /usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH
9975 for as_dir in $as_dummy
9976 do 9936 do
9977 IFS=$as_save_IFS 9937 IFS=$as_save_IFS
9978 test -z "$as_dir" && as_dir=. 9938 test -z "$as_dir" && as_dir=.
9979 for ac_exec_ext in '' $ac_executable_extensions; do 9939 for ac_exec_ext in '' $ac_executable_extensions; do
9980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16154 CPP_NEED_TRADITIONAL=yes 16114 CPP_NEED_TRADITIONAL=yes
16155 fi 16115 fi
16156 rm -f conftest* 16116 rm -f conftest*
16157 16117
16158 16118
16159 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile" 16119 ac_config_files="$ac_config_files Makefile lib-src/Makefile.c:lib-src/Makefile.in oldXMenu/Makefile man/Makefile lwlib/Makefile src/Makefile.c:src/Makefile.in lisp/Makefile lispref/Makefile lispintro/Makefile leim/Makefile"
16160 ac_config_commands="$ac_config_commands default" 16120 ac_config_commands="$ac_config_commands default"
16161 cat >confcache <<\_ACEOF 16121 cat >confcache <<\_ACEOF
16162 # This file is a shell script that caches the results of configure 16122 # This file is a shell script that caches the results of configure
16163 # tests run on this system so they can be shared between configure 16123 # tests run on this system so they can be shared between configure
16164 # scripts and configure runs, see configure's option --config-cache. 16124 # scripts and configure runs, see configure's option --config-cache.
16165 # It is not useful on other systems. If it contains results you don't 16125 # It is not useful on other systems. If it contains results you don't
16250 debug=false 16210 debug=false
16251 SHELL=\${CONFIG_SHELL-$SHELL} 16211 SHELL=\${CONFIG_SHELL-$SHELL}
16252 _ACEOF 16212 _ACEOF
16253 16213
16254 cat >>$CONFIG_STATUS <<\_ACEOF 16214 cat >>$CONFIG_STATUS <<\_ACEOF
16215
16255 ## --------------------- ## 16216 ## --------------------- ##
16256 ## M4sh Initialization. ## 16217 ## M4sh Initialization. ##
16257 ## --------------------- ## 16218 ## --------------------- ##
16258 16219
16259 # Be Bourne compatible 16220 # Be Bourne compatible
16260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16261 emulate sh 16222 emulate sh
16262 NULLCMD=: 16223 NULLCMD=:
16263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
16264 # is contrary to our usage. Disable this feature.
16265 alias -g '${1+"$@"}'='"$@"'
16266 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 16224 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
16267 set -o posix 16225 set -o posix
16268 fi 16226 fi
16269 16227
16270 # NLS nuisances. 16228 # NLS nuisances.
16299 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 16257 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
16300 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 16258 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
16301 { LC_MESSAGES=C; export LC_MESSAGES; } 16259 { LC_MESSAGES=C; export LC_MESSAGES; }
16302 16260
16303 16261
16304 # Required to use basename.
16305 if expr a : '\(a\)' >/dev/null 2>&1; then
16306 as_expr=expr
16307 else
16308 as_expr=false
16309 fi
16310
16311 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
16312 as_basename=basename
16313 else
16314 as_basename=false
16315 fi
16316
16317
16318 # Name of the executable. 16262 # Name of the executable.
16319 as_me=`$as_basename "$0" || 16263 as_me=`(basename "$0") 2>/dev/null ||
16320 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 16264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16321 X"$0" : 'X\(//\)$' \| \ 16265 X"$0" : 'X\(//\)$' \| \
16322 X"$0" : 'X\(/\)$' \| \ 16266 X"$0" : 'X\(/\)$' \| \
16323 . : '\(.\)' 2>/dev/null || 16267 . : '\(.\)' 2>/dev/null ||
16324 echo X/"$0" | 16268 echo X/"$0" |
16325 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 16269 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16326 /^X\/\(\/\/\)$/{ s//\1/; q; } 16270 /^X\/\(\/\/\)$/{ s//\1/; q; }
16327 /^X\/\(\/\).*/{ s//\1/; q; } 16271 /^X\/\(\/\).*/{ s//\1/; q; }
16328 s/.*/./; q'` 16272 s/.*/./; q'`
16329
16330 16273
16331 # PATH needs CR, and LINENO needs CR and PATH. 16274 # PATH needs CR, and LINENO needs CR and PATH.
16332 # Avoid depending upon Character Ranges. 16275 # Avoid depending upon Character Ranges.
16333 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 16276 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 16277 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16393 as_lineno_1=$LINENO 16336 as_lineno_1=$LINENO
16394 as_lineno_2=$LINENO 16337 as_lineno_2=$LINENO
16395 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 16338 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
16396 test "x$as_lineno_1" != "x$as_lineno_2" && 16339 test "x$as_lineno_1" != "x$as_lineno_2" &&
16397 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 16340 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
16398 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
16399 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
16400 CONFIG_SHELL=$as_dir/$as_base 16341 CONFIG_SHELL=$as_dir/$as_base
16401 export CONFIG_SHELL 16342 export CONFIG_SHELL
16402 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 16343 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
16403 fi;; 16344 fi;;
16404 esac 16345 esac
16468 else 16409 else
16469 as_ln_s='cp -p' 16410 as_ln_s='cp -p'
16470 fi 16411 fi
16471 rm -f conf$$ conf$$.exe conf$$.file 16412 rm -f conf$$ conf$$.exe conf$$.file
16472 16413
16473 if mkdir -p . 2>/dev/null; then
16474 as_mkdir_p=:
16475 else
16476 as_mkdir_p=false
16477 fi
16478
16479 as_executable_p="test -f" 16414 as_executable_p="test -f"
16480 16415
16481 # Sed expression to map a string onto a valid CPP name. 16416 # Sed expression to map a string onto a valid CPP name.
16482 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 16417 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
16483 16418
16507 _ASBOX 16442 _ASBOX
16508 } >&5 16443 } >&5
16509 cat >&5 <<_CSEOF 16444 cat >&5 <<_CSEOF
16510 16445
16511 This file was extended by $as_me, which was 16446 This file was extended by $as_me, which was
16512 generated by GNU Autoconf 2.53a. Invocation command line was 16447 generated by GNU Autoconf 2.53. Invocation command line was
16513 16448
16514 CONFIG_FILES = $CONFIG_FILES 16449 CONFIG_FILES = $CONFIG_FILES
16515 CONFIG_HEADERS = $CONFIG_HEADERS 16450 CONFIG_HEADERS = $CONFIG_HEADERS
16516 CONFIG_LINKS = $CONFIG_LINKS 16451 CONFIG_LINKS = $CONFIG_LINKS
16517 CONFIG_COMMANDS = $CONFIG_COMMANDS 16452 CONFIG_COMMANDS = $CONFIG_COMMANDS
16569 _ACEOF 16504 _ACEOF
16570 16505
16571 cat >>$CONFIG_STATUS <<_ACEOF 16506 cat >>$CONFIG_STATUS <<_ACEOF
16572 ac_cs_version="\\ 16507 ac_cs_version="\\
16573 config.status 16508 config.status
16574 configured by $0, generated by GNU Autoconf 2.53a, 16509 configured by $0, generated by GNU Autoconf 2.53,
16575 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 16510 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16576 16511
16577 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 16512 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
16578 Free Software Foundation, Inc. 16513 Free Software Foundation, Inc.
16579 This config.status script is free software; the Free Software Foundation 16514 This config.status script is free software; the Free Software Foundation
16879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 16814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16880 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 16815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16881 /^X\(\/\/\)$/{ s//\1/; q; } 16816 /^X\(\/\/\)$/{ s//\1/; q; }
16882 /^X\(\/\).*/{ s//\1/; q; } 16817 /^X\(\/\).*/{ s//\1/; q; }
16883 s/.*/./; q'` 16818 s/.*/./; q'`
16884 { if $as_mkdir_p; then 16819 { case "$ac_dir" in
16885 mkdir -p "$ac_dir" 16820 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
16886 else 16821 *) as_incr_dir=.;;
16887 as_dir="$ac_dir" 16822 esac
16888 as_dirs= 16823 as_dummy="$ac_dir"
16889 while test ! -d "$as_dir"; do 16824 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
16890 as_dirs="$as_dir $as_dirs" 16825 case $as_mkdir_dir in
16891 as_dir=`(dirname "$as_dir") 2>/dev/null || 16826 # Skip DOS drivespec
16892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 16827 ?:) as_incr_dir=$as_mkdir_dir ;;
16893 X"$as_dir" : 'X\(//\)[^/]' \| \ 16828 *)
16894 X"$as_dir" : 'X\(//\)$' \| \ 16829 as_incr_dir=$as_incr_dir/$as_mkdir_dir
16895 X"$as_dir" : 'X\(/\)' \| \ 16830 test -d "$as_incr_dir" ||
16896 . : '\(.\)' 2>/dev/null || 16831 mkdir "$as_incr_dir" ||
16897 echo X"$as_dir" | 16832 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
16898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 16833 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
16899 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 16834 { (exit 1); exit 1; }; }
16900 /^X\(\/\/\)$/{ s//\1/; q; } 16835 ;;
16901 /^X\(\/\).*/{ s//\1/; q; } 16836 esac
16902 s/.*/./; q'` 16837 done; }
16903 done
16904 test ! -n "$as_dirs" || mkdir $as_dirs
16905 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16906 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16907 { (exit 1); exit 1; }; }; }
16908 16838
16909 ac_builddir=. 16839 ac_builddir=.
16910 16840
16911 if test "$ac_dir" != .; then 16841 if test "$ac_dir" != .; then
16912 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 16842 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16932 ac_top_srcdir=$ac_top_builddir$srcdir ;; 16862 ac_top_srcdir=$ac_top_builddir$srcdir ;;
16933 esac 16863 esac
16934 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 16864 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
16935 # absolute. 16865 # absolute.
16936 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 16866 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
16937 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 16867 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
16938 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 16868 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
16939 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 16869 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
16940 16870
16941 16871
16942 case $INSTALL in 16872 case $INSTALL in
17202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 17132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17203 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 17133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17204 /^X\(\/\/\)$/{ s//\1/; q; } 17134 /^X\(\/\/\)$/{ s//\1/; q; }
17205 /^X\(\/\).*/{ s//\1/; q; } 17135 /^X\(\/\).*/{ s//\1/; q; }
17206 s/.*/./; q'` 17136 s/.*/./; q'`
17207 { if $as_mkdir_p; then 17137 { case "$ac_dir" in
17208 mkdir -p "$ac_dir" 17138 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
17209 else 17139 *) as_incr_dir=.;;
17210 as_dir="$ac_dir" 17140 esac
17211 as_dirs= 17141 as_dummy="$ac_dir"
17212 while test ! -d "$as_dir"; do 17142 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17213 as_dirs="$as_dir $as_dirs" 17143 case $as_mkdir_dir in
17214 as_dir=`(dirname "$as_dir") 2>/dev/null || 17144 # Skip DOS drivespec
17215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17145 ?:) as_incr_dir=$as_mkdir_dir ;;
17216 X"$as_dir" : 'X\(//\)[^/]' \| \ 17146 *)
17217 X"$as_dir" : 'X\(//\)$' \| \ 17147 as_incr_dir=$as_incr_dir/$as_mkdir_dir
17218 X"$as_dir" : 'X\(/\)' \| \ 17148 test -d "$as_incr_dir" ||
17219 . : '\(.\)' 2>/dev/null || 17149 mkdir "$as_incr_dir" ||
17220 echo X"$as_dir" | 17150 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
17221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 17151 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
17222 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 17152 { (exit 1); exit 1; }; }
17223 /^X\(\/\/\)$/{ s//\1/; q; } 17153 ;;
17224 /^X\(\/\).*/{ s//\1/; q; } 17154 esac
17225 s/.*/./; q'` 17155 done; }
17226 done
17227 test ! -n "$as_dirs" || mkdir $as_dirs
17228 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17230 { (exit 1); exit 1; }; }; }
17231 17156
17232 rm -f $ac_file 17157 rm -f $ac_file
17233 mv $tmp/config.h $ac_file 17158 mv $tmp/config.h $ac_file
17234 fi 17159 fi
17235 else 17160 else
17284 ac_top_srcdir=$ac_top_builddir$srcdir ;; 17209 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17285 esac 17210 esac
17286 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 17211 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
17287 # absolute. 17212 # absolute.
17288 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 17213 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
17289 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 17214 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
17290 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 17215 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
17291 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 17216 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
17292 17217
17293 17218
17294 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 17219 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5