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

Comparing rxvt-unicode/configure (file contents):
Revision 1.104 by ayin, Sat Jun 23 13:41:19 2007 UTC vs.
Revision 1.107 by ayin, Thu Jun 28 17:20:24 2007 UTC

307#endif 307#endif
308#if HAVE_UNISTD_H 308#if HAVE_UNISTD_H
309# include <unistd.h> 309# include <unistd.h>
310#endif" 310#endif"
311 311
312ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER CXXLIB INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS' 312ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE LIBVERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP LINKER INSTALL_LIBRXVT RXVTNAME TIC CXXCPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS afterimage_config XPM_CPPFLAGS XPM_CFLAGS XPM_LIBS rxvt_int16_typedef rxvt_uint16_typedef rxvt_int32_typedef rxvt_uint32_typedef rxvt_intp_define rxvt_u_intp_define PKG_CONFIG XFT_CONFIG PERL PERLLIB PERLFLAGS PERLPRIVLIBEXP IF_PERL PERL_O LIBAFTERIMAGE_CFLAGS AFTERIMAGE_LIBS include_stdint_h include_stdarg_h include_stdlib_h include_unistd_h include_string_h include_fcntl_h include_util_h include_assert_h include_sys_ioctl_h include_sys_select_h include_sys_strredir_h include_sys_time_h include_time_h LIBOBJS LTLIBOBJS'
313ac_subst_files='' 313ac_subst_files=''
314 314
315# Initialize some variables set by options. 315# Initialize some variables set by options.
316ac_init_help= 316ac_init_help=
317ac_init_version=false 317ac_init_version=false
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 (eval $ac_try) 2>&5 3285 (eval $ac_try) 2>&5
3286 ac_status=$? 3286 ac_status=$?
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; }; then 3288 (exit $ac_status); }; }; then
3289
3290 echo "$as_me:$LINENO: result: ok" >&5 3289 echo "$as_me:$LINENO: result: ok" >&5
3291echo "${ECHO_T}ok" >&6 3290echo "${ECHO_T}ok" >&6
3292 CXXLIB="-lsupc++"
3293
3294else 3291else
3295 echo "$as_me: failed program was:" >&5 3292 echo "$as_me: failed program was:" >&5
3296sed 's/^/| /' conftest.$ac_ext >&5 3293sed 's/^/| /' conftest.$ac_ext >&5
3297 3294
3298 3295
3306rm -f conftest.err conftest.$ac_objext \ 3303rm -f conftest.err conftest.$ac_objext \
3307 conftest$ac_exeext conftest.$ac_ext 3304 conftest$ac_exeext conftest.$ac_ext
3308 CXX="$save_CXX" 3305 CXX="$save_CXX"
3309fi 3306fi
3310LINKER=$LINKER 3307LINKER=$LINKER
3311
3312 3308
3313 3309
3314if test -z "$orig_CXXFLAGS"; then 3310if test -z "$orig_CXXFLAGS"; then
3315 if test x$GCC = xyes && test "x$GXX" = xyes; then 3311 if test x$GCC = xyes && test "x$GXX" = xyes; then
3316 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 3312 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
3373 3369
3374case $host in 3370case $host in
3375 *-*-solaris* ) 3371 *-*-solaris* )
3376 3372
3377cat >>confdefs.h <<\_ACEOF 3373cat >>confdefs.h <<\_ACEOF
3378#define _XOPEN_SOURCE_EXTENDED 1
3379_ACEOF
3380
3381
3382cat >>confdefs.h <<\_ACEOF
3383#define _XOPEN_SOURCE 2 3374#define _XOPEN_SOURCE 500
3384_ACEOF
3385
3386
3387cat >>confdefs.h <<\_ACEOF
3388#define __EXTENSIONS__ 1
3389_ACEOF 3375_ACEOF
3390 3376
3391 ;; 3377 ;;
3392esac 3378esac
3393 3379
7060rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7061fi 7047fi
7062echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 7048echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7063echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6 7049echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6
7064 7050
7065if test -n "$GCC"; then
7066 LDARG="-Wl,"
7067else
7068 LDARG=""
7069fi
7070R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g'
7071
7072ac_save_CFLAGS=$CFLAGS
7073ac_save_LIBS=$LIBS
7074CFLAGS="$CFLAGS $X_CFLAGS"
7075LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7076echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5
7077echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6
7078if test "${rxvt_cv_rpath+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7080else
7081 if test "$cross_compiling" = yes; then
7082 { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5
7083echo "$as_me: WARNING: You may need to check the LIBS line" >&2;}
7084else
7085 cat >conftest.$ac_ext <<_ACEOF
7086/* confdefs.h. */
7087_ACEOF
7088cat confdefs.h >>conftest.$ac_ext
7089cat >>conftest.$ac_ext <<_ACEOF
7090/* end confdefs.h. */
7091#include <X11/Xlib.h>
7092#include <stdlib.h>
7093main()
7094{
7095 exit(0);
7096 (void) XOpenDisplay("foobar");
7097}
7098_ACEOF
7099rm -f conftest$ac_exeext
7100if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7101 (eval $ac_link) 2>&5
7102 ac_status=$?
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7106 (eval $ac_try) 2>&5
7107 ac_status=$?
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); }; }; then
7110 rxvt_cv_rpath=yes
7111else
7112 echo "$as_me: program exited with status $ac_status" >&5
7113echo "$as_me: failed program was:" >&5
7114sed 's/^/| /' conftest.$ac_ext >&5
7115
7116( exit $ac_status )
7117rxvt_cv_rpath=no
7118fi
7119rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7120fi
7121fi
7122echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5
7123echo "${ECHO_T}$rxvt_cv_rpath" >&6
7124if test x$rxvt_cv_rpath != xyes; then
7125 R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g'
7126 LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"`
7127 echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5
7128echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6
7129if test "${rxvt_cv_R+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7131else
7132 if test "$cross_compiling" = yes; then
7133 rxvt_cv_R=no
7134else
7135 cat >conftest.$ac_ext <<_ACEOF
7136/* confdefs.h. */
7137_ACEOF
7138cat confdefs.h >>conftest.$ac_ext
7139cat >>conftest.$ac_ext <<_ACEOF
7140/* end confdefs.h. */
7141#include <X11/Xlib.h>
7142#include <stdlib.h>
7143main()
7144{
7145 exit(0);
7146 (void) XOpenDisplay("foobar");
7147}
7148_ACEOF
7149rm -f conftest$ac_exeext
7150if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7151 (eval $ac_link) 2>&5
7152 ac_status=$?
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7156 (eval $ac_try) 2>&5
7157 ac_status=$?
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); }; }; then
7160 rxvt_cv_R=yes
7161else
7162 echo "$as_me: program exited with status $ac_status" >&5
7163echo "$as_me: failed program was:" >&5
7164sed 's/^/| /' conftest.$ac_ext >&5
7165
7166( exit $ac_status )
7167rxvt_cv_R=no
7168fi
7169rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7170fi
7171fi
7172echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5
7173echo "${ECHO_T}$rxvt_cv_R" >&6
7174 if test x$rxvt_cv_R != xyes; then
7175 LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7176 fi
7177fi
7178
7179echo "$as_me:$LINENO: checking for XPointer" >&5 7051echo "$as_me:$LINENO: checking for XPointer" >&5
7180echo $ECHO_N "checking for XPointer... $ECHO_C" >&6 7052echo $ECHO_N "checking for XPointer... $ECHO_C" >&6
7181if test "${rxvt_cv_xpointer+set}" = set; then 7053if test "${rxvt_cv_xpointer+set}" = set; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7183else 7055else
7234cat >>confdefs.h <<\_ACEOF 7106cat >>confdefs.h <<\_ACEOF
7235#define HAVE_XPOINTER 1 7107#define HAVE_XPOINTER 1
7236_ACEOF 7108_ACEOF
7237 7109
7238fi 7110fi
7239LIBS=$ac_save_LIBS
7240CFLAGS=$ac_save_CFLAGS
7241 7111
7242echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7112echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7243echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6 7113echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6
7244if test "${rxvt_xlib_illegal_access+set}" = set; then 7114if test "${rxvt_xlib_illegal_access+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6 7115 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 11338
11469ac_save_LIBS=$LIBS 11339ac_save_LIBS=$LIBS
11470ac_save_CFLAGS=$CFLAGS 11340ac_save_CFLAGS=$CFLAGS
11471CFLAGS="$CFLAGS $X_CFLAGS" 11341CFLAGS="$CFLAGS $X_CFLAGS"
11472LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 11342LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
11473if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
11474 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
11475fi
11476echo "$as_me:$LINENO: checking for working Xlocale" >&5 11343echo "$as_me:$LINENO: checking for working Xlocale" >&5
11477echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6 11344echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6
11478if test "${rxvt_cv_func_xlocale+set}" = set; then 11345if test "${rxvt_cv_func_xlocale+set}" = set; then
11479 echo $ECHO_N "(cached) $ECHO_C" >&6 11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11480else 11347else
11481 if test "$cross_compiling" = yes; then 11348 if test "$cross_compiling" = yes; then
11482 { echo "$as_me:$LINENO: WARNING: Define NO_XLOCALE in config.h manually" >&5 11349 :
11483echo "$as_me: WARNING: Define NO_XLOCALE in config.h manually" >&2;}
11484else 11350else
11485 cat >conftest.$ac_ext <<_ACEOF 11351 cat >conftest.$ac_ext <<_ACEOF
11486/* confdefs.h. */ 11352/* confdefs.h. */
11487_ACEOF 11353_ACEOF
11488cat confdefs.h >>conftest.$ac_ext 11354cat confdefs.h >>conftest.$ac_ext
11520rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11386rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11521fi 11387fi
11522fi 11388fi
11523echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 11389echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5
11524echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6 11390echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6
11391if test x$support_xim = xyes; then
11525if test x$rxvt_cv_func_xlocale = xyes; then 11392 if test x$rxvt_cv_func_xlocale = xyes; then
11526 11393
11527cat >>confdefs.h <<\_ACEOF 11394cat >>confdefs.h <<\_ACEOF
11528#define HAVE_XLOCALE 1 11395#define USE_XIM 1
11529_ACEOF 11396_ACEOF
11530 11397
11398 fi
11531fi 11399fi
11532 11400
11533echo "$as_me:$LINENO: checking for working X setlocale" >&5 11401echo "$as_me:$LINENO: checking for working X setlocale" >&5
11534echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6 11402echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6
11535if test "${rxvt_cv_func_xsetlocale+set}" = set; then 11403if test "${rxvt_cv_func_xsetlocale+set}" = set; then
12906 12774
12907fi 12775fi
12908if test x$support_inheritpixmap = xyes; then 12776if test x$support_inheritpixmap = xyes; then
12909 12777
12910cat >>confdefs.h <<\_ACEOF 12778cat >>confdefs.h <<\_ACEOF
12911#define TRANSPARENT 1 12779#define ENABLE_TRANSPARENCY 1
12912_ACEOF 12780_ACEOF
12913 12781
12914fi 12782fi
12915if test x$support_keepscrolling = xno; then 12783if test x$support_keepscrolling = xno; then
12916 12784
12924cat >>confdefs.h <<\_ACEOF 12792cat >>confdefs.h <<\_ACEOF
12925#define SELECTION_SCROLLING 1 12793#define SELECTION_SCROLLING 1
12926_ACEOF 12794_ACEOF
12927 12795
12928fi 12796fi
12929if test x$support_frills = xyes; then
12930
12931cat >>confdefs.h <<\_ACEOF
12932#define ENABLE_FRILLS 1
12933_ACEOF
12934
12935fi
12936if test x$support_mousewheel = xyes; then 12797if test x$support_mousewheel = xyes; then
12937 12798
12938cat >>confdefs.h <<\_ACEOF 12799cat >>confdefs.h <<\_ACEOF
12939#define MOUSE_WHEEL 1 12800#define MOUSE_WHEEL 1
12940_ACEOF 12801_ACEOF
12944 12805
12945cat >>confdefs.h <<\_ACEOF 12806cat >>confdefs.h <<\_ACEOF
12946#define MOUSE_SLIP_WHEELING 1 12807#define MOUSE_SLIP_WHEELING 1
12947_ACEOF 12808_ACEOF
12948 12809
12949fi
12950if test x$support_xim = xyes -o x$multichar_set = xyes; then
12951 if test x$rxvt_cv_func_xlocale = xyes; then
12952
12953cat >>confdefs.h <<\_ACEOF
12954#define USE_XIM 1
12955_ACEOF
12956
12957 fi
12958fi 12810fi
12959if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then 12811if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
12960 12812
12961cat >>confdefs.h <<\_ACEOF 12813cat >>confdefs.h <<\_ACEOF
12962#define XPM_BACKGROUND 1 12814#define XPM_BACKGROUND 1
13260 13112
13261if test x$support_perl = xyes; then 13113if test x$support_perl = xyes; then
13262 support_frills=yes 13114 support_frills=yes
13263fi 13115fi
13264 13116
13117if test x$support_frills = xyes; then
13265 13118
13119cat >>confdefs.h <<\_ACEOF
13120#define ENABLE_FRILLS 1
13121_ACEOF
13266 13122
13267
13268
13269
13270if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then
13271 LIBS=`echo $LIBS | sed "$R_TRANSLATE"`
13272 X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"`
13273 X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"`
13274 XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"`
13275fi 13123fi
13124
13125
13126
13127
13128
13129
13276 13130
13277 13131
13278 13132
13279 13133
13280 13134
14005s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 13859s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14006s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 13860s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14007s,@INSTALL_DATA@,$INSTALL_DATA,;t t 13861s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14008s,@EGREP@,$EGREP,;t t 13862s,@EGREP@,$EGREP,;t t
14009s,@LINKER@,$LINKER,;t t 13863s,@LINKER@,$LINKER,;t t
14010s,@CXXLIB@,$CXXLIB,;t t
14011s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t 13864s,@INSTALL_LIBRXVT@,$INSTALL_LIBRXVT,;t t
14012s,@RXVTNAME@,$RXVTNAME,;t t 13865s,@RXVTNAME@,$RXVTNAME,;t t
14013s,@TIC@,$TIC,;t t 13866s,@TIC@,$TIC,;t t
14014s,@CXXCPP@,$CXXCPP,;t t 13867s,@CXXCPP@,$CXXCPP,;t t
14015s,@X_CFLAGS@,$X_CFLAGS,;t t 13868s,@X_CFLAGS@,$X_CFLAGS,;t t

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines