ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.95 by root, Sat Jan 28 21:25:11 2006 UTC vs.
Revision 1.101 by ayin, Sun Sep 10 14:33:41 2006 UTC

3288 conftest$ac_exeext conftest.$ac_ext 3288 conftest$ac_exeext conftest.$ac_ext
3289 CXX="$save_CXX" 3289 CXX="$save_CXX"
3290fi 3290fi
3291LINKER=$LINKER 3291LINKER=$LINKER
3292 3292
3293
3294ac_ext=cc
3295ac_cpp='$CXXCPP $CPPFLAGS'
3296ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3297ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3298ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3299 3293
3300if test -z "$orig_CXXFLAGS"; then 3294if test -z "$orig_CXXFLAGS"; then
3301 if test x$GCC = xyes && test "x$GXX" = xyes; then 3295 if test x$GCC = xyes && test "x$GXX" = xyes; then
3302 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3296 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3303 cat >conftest.$ac_ext <<_ACEOF 3297 cat >conftest.$ac_ext <<_ACEOF
4067 support_scroll_plain=$enableval 4061 support_scroll_plain=$enableval
4068 fi 4062 fi
4069fi; 4063fi;
4070 4064
4071 4065
4072
4073# Check whether --with-codesets or --without-codesets was given. 4066# Check whether --with-codesets or --without-codesets was given.
4074if test "${with_codesets+set}" = set; then 4067if test "${with_codesets+set}" = set; then
4075 withval="$with_codesets" 4068 withval="$with_codesets"
4076 codesets="$withval" 4069 codesets="$withval"
4077fi; 4070fi;
7339 7332
7340fi 7333fi
7341LIBS=$ac_save_LIBS 7334LIBS=$ac_save_LIBS
7342CFLAGS=$ac_save_CFLAGS 7335CFLAGS=$ac_save_CFLAGS
7343 7336
7337echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7338echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7339if test "${rxvt_xlib_illegal_access+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7341else
7342 cat >conftest.$ac_ext <<_ACEOF
7343/* confdefs.h. */
7344_ACEOF
7345cat confdefs.h >>conftest.$ac_ext
7346cat >>conftest.$ac_ext <<_ACEOF
7347/* end confdefs.h. */
7348
7349#define XLIB_ILLEGAL_ACCESS
7350#include <X11/Xlib.h>
7351
7352int
7353main ()
7354{
7355
7356 Display *dpy;
7357 dpy->xdefaults = (char *)0;
7358
7359 ;
7360 return 0;
7361}
7362_ACEOF
7363rm -f conftest.$ac_objext
7364if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7374 (eval $ac_try) 2>&5
7375 ac_status=$?
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; } &&
7378 { ac_try='test -s conftest.$ac_objext'
7379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7380 (eval $ac_try) 2>&5
7381 ac_status=$?
7382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7383 (exit $ac_status); }; }; then
7384 rxvt_xlib_illegal_access=yes
7385else
7386 echo "$as_me: failed program was:" >&5
7387sed 's/^/| /' conftest.$ac_ext >&5
7388
7389rxvt_xlib_illegal_access=no
7390
7391fi
7392rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393fi
7394echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5
7395echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6
7396if test x$rxvt_xlib_illegal_access = xyes; then
7397
7398cat >>confdefs.h <<\_ACEOF
7399#define XLIB_ILLEGAL_ACCESS 1
7400_ACEOF
7401
7402fi
7344 7403
7345echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 7404echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7346echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 7405echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7347if test "${ac_cv_c_const+set}" = set; then 7406if test "${ac_cv_c_const+set}" = set; then
7348 echo $ECHO_N "(cached) $ECHO_C" >&6 7407 echo $ECHO_N "(cached) $ECHO_C" >&6
11412#define LASTLOGX_FILE "$path_lastlogx" 11471#define LASTLOGX_FILE "$path_lastlogx"
11413_ACEOF 11472_ACEOF
11414 11473
11415fi 11474fi
11416 11475
11417if test x$support_utmp != xyes; then
11418 echo " utmp support: disabled"
11419 echo
11420else
11421 echo " utmp support: enabled
11422 utmp file: $path_utmp
11423 utmpx file: $path_utmpx
11424 wtmp file: $path_wtmp
11425 wtmpx file: $path_wtmpx
11426 lastlog file: $path_lastlog
11427 lastlogx file: $path_lastlogx"
11428fi
11429
11430 11476
11431 11477
11432echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 11478echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5
11433echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6 11479echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6
11434if test "${rxvt_cv_path_ttytab+set}" = set; then 11480if test "${rxvt_cv_path_ttytab+set}" = set; then
13213 13259
13214 13260
13215 13261
13216 13262
13217 13263
13264 cat >conftest.$ac_ext <<_ACEOF
13265/* confdefs.h. */
13266_ACEOF
13267cat confdefs.h >>conftest.$ac_ext
13268cat >>conftest.$ac_ext <<_ACEOF
13269/* end confdefs.h. */
13270
13271#include <EXTERN.h>
13272#include <perl.h>
13273#include <XSUB.h>
13274
13275int
13276main ()
13277{
13278
13279 PerlInterpreter *perl = perl_alloc ();
13280
13281 ;
13282 return 0;
13283}
13284_ACEOF
13285rm -f conftest.$ac_objext conftest$ac_exeext
13286if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13287 (eval $ac_link) 2>conftest.er1
13288 ac_status=$?
13289 grep -v '^ *+' conftest.er1 >conftest.err
13290 rm -f conftest.er1
13291 cat conftest.err >&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13297 ac_status=$?
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; } &&
13300 { ac_try='test -s conftest$ac_exeext'
13301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13302 (eval $ac_try) 2>&5
13303 ac_status=$?
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; }; then
13306 rxvt_perl_link=yes
13307else
13308 echo "$as_me: failed program was:" >&5
13309sed 's/^/| /' conftest.$ac_ext >&5
13310
13311rxvt_perl_link=no
13312fi
13313rm -f conftest.err conftest.$ac_objext \
13314 conftest$ac_exeext conftest.$ac_ext
13218if test x$support_perl = xyes; then 13315if test x$support_perl = xyes; then
13219 support_frills=yes 13316 support_frills=yes
13220fi 13317fi
13221 13318
13222
13223CFLAGS=${CFLAGS--O}
13224LDFLAGS=${LDFLAGS--O}
13225
13226CPPFLAGS="$CPPFLAGS"
13227 13319
13228 13320
13229 13321
13230 13322
13231 13323
14516 14608
14517 Rxvt version: $VERSION : $DATE 14609 Rxvt version: $VERSION : $DATE
14518 Source code location: $srcdir 14610 Source code location: $srcdir
14519 Install path: ${prefix}/bin 14611 Install path: ${prefix}/bin
14520 Compiler: $CXX 14612 Compiler: $CXX
14521 Compiler flags: $CFLAGS 14613 Compiler flags: $CXXFLAGS
14522 Linker: $LINKER" 14614 Linker: $LINKER"
14523 14615
14524if test x$support_xpm = xyes; then 14616if test x$support_xpm = xyes; then
14525 echo " Xpm library: $XPM_LIBS" 14617 echo " Xpm library: $XPM_LIBS"
14526fi 14618fi
14555 echo ". functions could not be found. ." 14647 echo ". functions could not be found. ."
14556 echo ". XIM is now being DISABLED! ." 14648 echo ". XIM is now being DISABLED! ."
14557 echo ".----------------------------------------------------------------." 14649 echo ".----------------------------------------------------------------."
14558fi 14650fi
14559 14651
14560echo " *** Optionally check src/feature.h for further options ***" 14652echo "*** Optionally check src/feature.h for further, rarely used options ***"
14561echo 14653echo
14562 14654
14563echo ".----------------------------------------------------------------."
14564echo ". NOTE: some features are disabled by default, try ."
14565echo ". configure --help to get an idea of the optional features, ."
14566echo ". or read ./README.configure ."
14567echo ". ."
14568echo ". The script ./reconf gives a reasonable baseline, try it if ."
14569echo ". you do not want to read documentation and still want some ."
14570echo ". useful features. ."
14571echo ".----------------------------------------------------------------."
14572echo
14573

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines