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

Comparing rxvt-unicode/configure (file contents):
Revision 1.160 by root, Sun Oct 27 16:20:55 2013 UTC vs.
Revision 1.164 by root, Thu Jun 20 23:07:42 2019 UTC

685htmldir 685htmldir
686infodir 686infodir
687docdir 687docdir
688oldincludedir 688oldincludedir
689includedir 689includedir
690runstatedir
690localstatedir 691localstatedir
691sharedstatedir 692sharedstatedir
692sysconfdir 693sysconfdir
693datadir 694datadir
694datarootdir 695datarootdir
802datarootdir='${prefix}/share' 803datarootdir='${prefix}/share'
803datadir='${datarootdir}' 804datadir='${datarootdir}'
804sysconfdir='${prefix}/etc' 805sysconfdir='${prefix}/etc'
805sharedstatedir='${prefix}/com' 806sharedstatedir='${prefix}/com'
806localstatedir='${prefix}/var' 807localstatedir='${prefix}/var'
808runstatedir='${localstatedir}/run'
807includedir='${prefix}/include' 809includedir='${prefix}/include'
808oldincludedir='/usr/include' 810oldincludedir='/usr/include'
809docdir='${datarootdir}/doc/${PACKAGE}' 811docdir='${datarootdir}/doc/${PACKAGE}'
810infodir='${datarootdir}/info' 812infodir='${datarootdir}/info'
811htmldir='${docdir}' 813htmldir='${docdir}'
1054 1056
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil) 1058 | -silent | --silent | --silen | --sile | --sil)
1057 silent=yes ;; 1059 silent=yes ;;
1058 1060
1061 -runstatedir | --runstatedir | --runstatedi | --runstated \
1062 | --runstate | --runstat | --runsta | --runst | --runs \
1063 | --run | --ru | --r)
1064 ac_prev=runstatedir ;;
1065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1067 | --run=* | --ru=* | --r=*)
1068 runstatedir=$ac_optarg ;;
1069
1059 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1060 ac_prev=sbindir ;; 1071 ac_prev=sbindir ;;
1061 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1062 | --sbi=* | --sb=*) 1073 | --sbi=* | --sb=*)
1063 sbindir=$ac_optarg ;; 1074 sbindir=$ac_optarg ;;
1191 1202
1192# Check all directory arguments for consistency. 1203# Check all directory arguments for consistency.
1193for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1204for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1194 datadir sysconfdir sharedstatedir localstatedir includedir \ 1205 datadir sysconfdir sharedstatedir localstatedir includedir \
1195 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1196 libdir localedir mandir 1207 libdir localedir mandir runstatedir
1197do 1208do
1198 eval ac_val=\$$ac_var 1209 eval ac_val=\$$ac_var
1199 # Remove trailing slashes. 1210 # Remove trailing slashes.
1200 case $ac_val in 1211 case $ac_val in
1201 */ ) 1212 */ )
1344 --sbindir=DIR system admin executables [EPREFIX/sbin] 1355 --sbindir=DIR system admin executables [EPREFIX/sbin]
1345 --libexecdir=DIR program executables [EPREFIX/libexec] 1356 --libexecdir=DIR program executables [EPREFIX/libexec]
1346 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1347 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1348 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1349 --libdir=DIR object code libraries [EPREFIX/lib] 1361 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include] 1362 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2261$as_echo "$ac_res" >&6; } 2273$as_echo "$ac_res" >&6; }
2262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2263 2275
2264} # ac_fn_c_find_uintX_t 2276} # ac_fn_c_find_uintX_t
2277
2278# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
2279# ------------------------------------------------------
2280# Tries to find if the field MEMBER exists in type AGGR, after including
2281# INCLUDES, setting cache variable VAR accordingly.
2282ac_fn_cxx_check_member ()
2283{
2284 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2286$as_echo_n "checking for $2.$3... " >&6; }
2287if eval \${$4+:} false; then :
2288 $as_echo_n "(cached) " >&6
2289else
2290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291/* end confdefs.h. */
2292$5
2293int
2294main ()
2295{
2296static $2 ac_aggr;
2297if (ac_aggr.$3)
2298return 0;
2299 ;
2300 return 0;
2301}
2302_ACEOF
2303if ac_fn_cxx_try_compile "$LINENO"; then :
2304 eval "$4=yes"
2305else
2306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2307/* end confdefs.h. */
2308$5
2309int
2310main ()
2311{
2312static $2 ac_aggr;
2313if (sizeof ac_aggr.$3)
2314return 0;
2315 ;
2316 return 0;
2317}
2318_ACEOF
2319if ac_fn_cxx_try_compile "$LINENO"; then :
2320 eval "$4=yes"
2321else
2322 eval "$4=no"
2323fi
2324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325fi
2326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327fi
2328eval ac_res=\$$4
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2330$as_echo "$ac_res" >&6; }
2331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2332
2333} # ac_fn_cxx_check_member
2265 2334
2266# ac_fn_cxx_try_run LINENO 2335# ac_fn_cxx_try_run LINENO
2267# ------------------------ 2336# ------------------------
2268# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2337# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2269# that executables *can* be run. 2338# that executables *can* be run.
4949 5018
4950 fi 5019 fi
4951fi 5020fi
4952 5021
4953 5022
5023support_resources=yes
4954# Check whether --enable-resources was given. 5024# Check whether --enable-resources was given.
4955if test "${enable_resources+set}" = set; then : 5025if test "${enable_resources+set}" = set; then :
4956 enableval=$enable_resources; if test x$enableval = xno; then 5026 enableval=$enable_resources; if test x$enableval = xno; then
4957 5027 support_resources=no
4958$as_echo "#define NO_RESOURCES 1" >>confdefs.h
4959
4960 fi 5028 fi
4961fi 5029fi
4962 5030
4963 5031
4964# Check whether --enable-8bitctrls was given. 5032# Check whether --enable-8bitctrls was given.
5136_ACEOF 5204_ACEOF
5137 terminfo="$withval" 5205 terminfo="$withval"
5138 fi 5206 fi
5139fi 5207fi
5140 5208
5209
5210if test x$support_resources = xno; then
5211 if test x$support_frills = xyes || test x$support_perl = xyes; then
5212 as_fn_error $? "--disable-resources requires --disable-frills --disable-perl" "$LINENO" 5
5213 fi
5214
5215
5216$as_echo "#define NO_RESOURCES 1" >>confdefs.h
5217
5218fi
5141 5219
5142 5220
5143LIBEV_M4_AVOID_LIBRT=1 5221LIBEV_M4_AVOID_LIBRT=1
5144 5222
5145ac_ext=cpp 5223ac_ext=cpp
5274ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5352ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5275ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5353ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5276ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5354ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5277 5355
5278 5356
5279for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h 5357for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h
5358do :
5359 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5360ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5361if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5362 cat >>confdefs.h <<_ACEOF
5363#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5364_ACEOF
5365
5366fi
5367
5368done
5369
5370for ac_header in sys/select.h sys/eventfd.h sys/signalfd.h linux/aio_abi.h
5280do : 5371do :
5281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5282ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5373ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5283if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5374if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5284 cat >>confdefs.h <<_ACEOF 5375 cat >>confdefs.h <<_ACEOF
6270 LDFLAGS=$ac_save_LDFLAGS 6361 LDFLAGS=$ac_save_LDFLAGS
6271 6362
6272fi 6363fi
6273 6364
6274 6365
6275image_lib=none 6366if test -n "$ac_tool_prefix"; then
6276
6277PIXBUF_CFLAGS=
6278PIXBUF_LIBS=
6279
6280if test x$support_pixbuf = xyes; then
6281 support_pixbuf=no
6282 # Extract the first word of "pkg-config", so it can be a program name with args. 6367 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6283set dummy pkg-config; ac_word=$2 6368set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285$as_echo_n "checking for $ac_word... " >&6; } 6370$as_echo_n "checking for $ac_word... " >&6; }
6286if ${ac_cv_path_PKG_CONFIG+:} false; then : 6371if ${ac_cv_path_PKG_CONFIG+:} false; then :
6287 $as_echo_n "(cached) " >&6 6372 $as_echo_n "(cached) " >&6
6288else 6373else
6304 fi 6389 fi
6305done 6390done
6306 done 6391 done
6307IFS=$as_save_IFS 6392IFS=$as_save_IFS
6308 6393
6309 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6310 ;; 6394 ;;
6311esac 6395esac
6312fi 6396fi
6313PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6397PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6314if test -n "$PKG_CONFIG"; then 6398if test -n "$PKG_CONFIG"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319$as_echo "no" >&6; } 6403$as_echo "no" >&6; }
6320fi 6404fi
6321 6405
6322 6406
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf" >&5
6324$as_echo_n "checking for gdk-pixbuf... " >&6; }
6325 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6326 PIXBUF_CFLAGS="`$PKG_CONFIG gdk-pixbuf-2.0 --cflags`"
6327 PIXBUF_LIBS="`$PKG_CONFIG gdk-pixbuf-2.0 --libs`"
6328 support_pixbuf=yes
6329 fi
6330
6331 if test x$support_pixbuf = xyes; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6333$as_echo "ok" >&6; }
6334 image_lib=gdk-pixbuf
6335
6336$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6337
6338 else
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6340$as_echo "no" >&6; }
6341 fi
6342fi 6407fi
6343 6408if test -z "$ac_cv_path_PKG_CONFIG"; then
6344 6409 ac_pt_PKG_CONFIG=$PKG_CONFIG
6345
6346
6347STARTUP_NOTIFICATION_CFLAGS=
6348STARTUP_NOTIFICATION_LIBS=
6349
6350if test x$support_startup_notification = xyes; then
6351 support_startup_notification=no
6352 # Extract the first word of "pkg-config", so it can be a program name with args. 6410 # Extract the first word of "pkg-config", so it can be a program name with args.
6353set dummy pkg-config; ac_word=$2 6411set dummy pkg-config; ac_word=$2
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355$as_echo_n "checking for $ac_word... " >&6; } 6413$as_echo_n "checking for $ac_word... " >&6; }
6356if ${ac_cv_path_PKG_CONFIG+:} false; then : 6414if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6357 $as_echo_n "(cached) " >&6 6415 $as_echo_n "(cached) " >&6
6358else 6416else
6359 case $PKG_CONFIG in 6417 case $ac_pt_PKG_CONFIG in
6360 [\\/]* | ?:[\\/]*) 6418 [\\/]* | ?:[\\/]*)
6361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6419 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6362 ;; 6420 ;;
6363 *) 6421 *)
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365for as_dir in $PATH 6423for as_dir in $PATH
6366do 6424do
6367 IFS=$as_save_IFS 6425 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=. 6426 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do 6427 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6429 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
6372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 break 2 6431 break 2
6374 fi 6432 fi
6375done 6433done
6376 done 6434 done
6377IFS=$as_save_IFS 6435IFS=$as_save_IFS
6378 6436
6379 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6380 ;; 6437 ;;
6381esac 6438esac
6382fi 6439fi
6383PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6440ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6384if test -n "$PKG_CONFIG"; then 6441if test -n "$ac_pt_PKG_CONFIG"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6386$as_echo "$PKG_CONFIG" >&6; } 6443$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6387else 6444else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389$as_echo "no" >&6; } 6446$as_echo "no" >&6; }
6390fi 6447fi
6391 6448
6449 if test "x$ac_pt_PKG_CONFIG" = x; then
6450 PKG_CONFIG="no"
6451 else
6452 case $cross_compiling:$ac_tool_warned in
6453yes:)
6454{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6455$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6456ac_tool_warned=yes ;;
6457esac
6458 PKG_CONFIG=$ac_pt_PKG_CONFIG
6459 fi
6460else
6461 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6462fi
6392 6463
6464
6465image_lib=none
6466
6467PIXBUF_CFLAGS=
6468PIXBUF_LIBS=
6469
6470if test x$support_pixbuf = xyes; then
6471
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5
6394$as_echo_n "checking for libstartup-notification... " >&6; } 6473$as_echo_n "checking for gdk-pixbuf-2.0... " >&6; }
6395 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then 6474 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6396 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" 6475 PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`"
6397 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" 6476 PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`"
6398 support_startup_notification=yes
6399 fi
6400 6477
6401 if test x$support_startup_notification = xyes; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6403$as_echo "ok" >&6; } 6479$as_echo "ok" >&6; }
6404 6480
6481 image_lib=gdk-pixbuf
6482
6405$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h 6483$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6484
6406 6485
6407 else 6486 else
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409$as_echo "no" >&6; } 6488$as_echo "no" >&6; }
6489 :
6410 fi 6490 fi
6411fi
6412 6491
6492fi
6413 6493
6414 6494
6495
6496
6497STARTUP_NOTIFICATION_CFLAGS=
6498STARTUP_NOTIFICATION_LIBS=
6499
6500if test x$support_startup_notification = xyes; then
6501
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5
6503$as_echo_n "checking for libstartup-notification-1.0... " >&6; }
6504 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6505 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`"
6506 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`"
6507
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6509$as_echo "ok" >&6; }
6510
6511
6512$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6513
6514
6515 else
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517$as_echo "no" >&6; }
6518 :
6519 fi
6520
6521fi
6522
6523
6524
6525
6526if test x$support_frills = xyes; then
6527
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5
6529$as_echo_n "checking for xmu... " >&6; }
6530 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then
6531 XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`"
6532 XMU_LIBS="`$PKG_CONFIG --libs xmu`"
6533
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6535$as_echo "ok" >&6; }
6536
6537 X_LIBS="$XMU_LIBS $X_LIBS"
6538 CPPFLAGS="$CPPFLAGS $XMU_CFLAGS"
6539
6540$as_echo "#define HAVE_XMU 1" >>confdefs.h
6541
6542
6543 else
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545$as_echo "no" >&6; }
6546 :
6547 fi
6548
6549fi
6415 6550
6416for ac_header in \ 6551for ac_header in \
6417 sys/byteorder.h \ 6552 sys/byteorder.h \
6418 sys/ioctl.h \ 6553 sys/ioctl.h \
6419 sys/sockio.h \ 6554 sys/sockio.h \
6674 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6809 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default"
6675if test "x$ac_cv_header_utmp_h" = xyes; then : 6810if test "x$ac_cv_header_utmp_h" = xyes; then :
6676 cat >>confdefs.h <<_ACEOF 6811 cat >>confdefs.h <<_ACEOF
6677#define HAVE_UTMP_H 1 6812#define HAVE_UTMP_H 1
6678_ACEOF 6813_ACEOF
6814
6679 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6815ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6680#include <sys/types.h> 6816#include <sys/types.h>
6681#include <utmp.h> 6817#include <utmp.h>
6682 6818
6683" 6819"
6684if test "x$ac_cv_type_struct_utmp" = xyes; then : 6820if test "x$ac_cv_type_struct_utmp" = xyes; then :
6689 6825
6690 6826
6691fi 6827fi
6692 6828
6693 6829
6694
6695# ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES
6696# ------------------------------------------------------
6697# Tries to find if the field MEMBER exists in type AGGR, after including
6698# INCLUDES, setting cache variable VAR accordingly.
6699ac_fn_cxx_check_member ()
6700{
6701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
6703$as_echo_n "checking for $2.$3... " >&6; }
6704if eval \${$4+:} false; then :
6705 $as_echo_n "(cached) " >&6
6706else
6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708/* end confdefs.h. */
6709$5
6710int
6711main ()
6712{
6713static $2 ac_aggr;
6714if (ac_aggr.$3)
6715return 0;
6716 ;
6717 return 0;
6718}
6719_ACEOF
6720if ac_fn_cxx_try_compile "$LINENO"; then :
6721 eval "$4=yes"
6722else
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724/* end confdefs.h. */
6725$5
6726int
6727main ()
6728{
6729static $2 ac_aggr;
6730if (sizeof ac_aggr.$3)
6731return 0;
6732 ;
6733 return 0;
6734}
6735_ACEOF
6736if ac_fn_cxx_try_compile "$LINENO"; then :
6737 eval "$4=yes"
6738else
6739 eval "$4=no"
6740fi
6741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742fi
6743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6744fi
6745eval ac_res=\$$4
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6747$as_echo "$ac_res" >&6; }
6748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
6749
6750} # ac_fn_cxx_check_member
6751ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" " 6830ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6752#include <sys/types.h> 6831#include <sys/types.h>
6753#include <utmp.h> 6832#include <utmp.h>
6754 6833
6755" 6834"
6782 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6861 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default"
6783if test "x$ac_cv_header_utmpx_h" = xyes; then : 6862if test "x$ac_cv_header_utmpx_h" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF 6863 cat >>confdefs.h <<_ACEOF
6785#define HAVE_UTMPX_H 1 6864#define HAVE_UTMPX_H 1
6786_ACEOF 6865_ACEOF
6866
6787 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6867ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6788#include <sys/types.h> 6868#include <sys/types.h>
6789#include <utmpx.h> 6869#include <utmpx.h>
6790 6870
6791" 6871"
6792if test "x$ac_cv_type_struct_utmpx" = xyes; then : 6872if test "x$ac_cv_type_struct_utmpx" = xyes; then :
6995 7075
6996 7076
6997 7077
6998 7078
6999save_LIBS=$LIBS 7079save_LIBS=$LIBS
7000save_CFLAGS=$CFLAGS 7080save_CXXFLAGS=$CXXFLAGS
7001CFLAGS="$CFLAGS $X_CFLAGS" 7081CXXFLAGS="$CXXFLAGS $X_CFLAGS"
7002LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 7082LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
7003if test x$support_xim = xyes; then 7083if test x$support_xim = xyes; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5 7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working Xlocale" >&5
7005$as_echo_n "checking for working Xlocale... " >&6; } 7085$as_echo_n "checking for working Xlocale... " >&6; }
7006if ${rxvt_cv_func_xlocale+:} false; then : 7086if ${rxvt_cv_func_xlocale+:} false; then :
7106 7186
7107$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h 7187$as_echo "#define HAVE_XSETLOCALE 1" >>confdefs.h
7108 7188
7109fi 7189fi
7110LIBS=$save_LIBS 7190LIBS=$save_LIBS
7111CFLAGS=$save_CFLAGS 7191CXXFLAGS=$save_CXXFLAGS
7112 7192
7113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5 7193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working nl_langinfo" >&5
7114$as_echo_n "checking for working nl_langinfo... " >&6; } 7194$as_echo_n "checking for working nl_langinfo... " >&6; }
7115if ${rxvt_cv_func_nl_langinfo+:} false; then : 7195if ${rxvt_cv_func_nl_langinfo+:} false; then :
7116 $as_echo_n "(cached) " >&6 7196 $as_echo_n "(cached) " >&6
7141$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h 7221$as_echo "#define HAVE_NL_LANGINFO 1" >>confdefs.h
7142 7222
7143fi 7223fi
7144 7224
7145 7225
7226
7146case $host in 7227case $host in
7147 *-*-solaris*) 7228 *-*-solaris*)
7229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7230/* end confdefs.h. */
7148 7231
7232#if __STDC_VERSION__ >= 199901L
7233error
7234#endif
7235
7236int
7237main ()
7238{
7239
7240 ;
7241 return 0;
7242}
7243_ACEOF
7244if ac_fn_cxx_try_compile "$LINENO"; then :
7149$as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h 7245 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
7150 7246
7247else
7248 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
7249
7250fi
7251rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5 7252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sendmsg" >&5
7152$as_echo_n "checking for library containing sendmsg... " >&6; } 7253$as_echo_n "checking for library containing sendmsg... " >&6; }
7153if ${ac_cv_search_sendmsg+:} false; then : 7254if ${ac_cv_search_sendmsg+:} false; then :
7154 $as_echo_n "(cached) " >&6 7255 $as_echo_n "(cached) " >&6
7155else 7256else
7459if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then 7560if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then
7460 support_image=yes 7561 support_image=yes
7461fi 7562fi
7462if test x$support_xft = xyes || test x$support_image = xyes; then 7563if test x$support_xft = xyes || test x$support_image = xyes; then
7463 rxvt_have_xrender=no 7564 rxvt_have_xrender=no
7464 # Extract the first word of "pkg-config", so it can be a program name with args. 7565
7465set dummy pkg-config; ac_word=$2
7466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5
7467$as_echo_n "checking for $ac_word... " >&6; } 7567$as_echo_n "checking for xrender... " >&6; }
7468if ${ac_cv_path_PKG_CONFIG+:} false; then :
7469 $as_echo_n "(cached) " >&6
7470else
7471 case $PKG_CONFIG in
7472 [\\/]* | ?:[\\/]*)
7473 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7474 ;;
7475 *)
7476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7477for as_dir in $PATH
7478do
7479 IFS=$as_save_IFS
7480 test -z "$as_dir" && as_dir=.
7481 for ac_exec_ext in '' $ac_executable_extensions; do
7482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7483 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7485 break 2
7486 fi
7487done
7488 done
7489IFS=$as_save_IFS
7490
7491 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7492 ;;
7493esac
7494fi
7495PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7496if test -n "$PKG_CONFIG"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7498$as_echo "$PKG_CONFIG" >&6; }
7499else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501$as_echo "no" >&6; }
7502fi
7503
7504
7505 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then 7568 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7506 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" 7569 XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`"
7507 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" 7570 XRENDER_LIBS="`$PKG_CONFIG --libs xrender`"
7571
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7573$as_echo "ok" >&6; }
7574
7575 X_LIBS="$XRENDER_LIBS $X_LIBS"
7576 CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS"
7508 rxvt_have_xrender=yes 7577 rxvt_have_xrender=yes
7509 7578
7510 save_LIBS="$LIBS" 7579 save_LIBS="$LIBS"
7511 LIBS="$LIBS $X_LIBS" 7580 LIBS="$LIBS $X_LIBS"
7512 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7581 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7523else 7592else
7524 rxvt_have_xrender=no 7593 rxvt_have_xrender=no
7525fi 7594fi
7526 7595
7527 LIBS="$save_LIBS" 7596 LIBS="$save_LIBS"
7597
7598 else
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600$as_echo "no" >&6; }
7601 :
7528 fi 7602 fi
7603
7529fi 7604fi
7530 7605
7531if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7606if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7532 # Extract the first word of "pkg-config", so it can be a program name with args. 7607
7533set dummy pkg-config; ac_word=$2
7534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5
7535$as_echo_n "checking for $ac_word... " >&6; } 7609$as_echo_n "checking for fontconfig xft... " >&6; }
7536if ${ac_cv_path_PKG_CONFIG+:} false; then : 7610 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then
7537 $as_echo_n "(cached) " >&6 7611 XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`"
7538else 7612 XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`"
7539 case $PKG_CONFIG in
7540 [\\/]* | ?:[\\/]*)
7541 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7542 ;;
7543 *)
7544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545for as_dir in $PATH
7546do
7547 IFS=$as_save_IFS
7548 test -z "$as_dir" && as_dir=.
7549 for ac_exec_ext in '' $ac_executable_extensions; do
7550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553 break 2
7554 fi
7555done
7556 done
7557IFS=$as_save_IFS
7558 7613
7559 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7560 ;;
7561esac
7562fi
7563PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7564if test -n "$PKG_CONFIG"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7566$as_echo "$PKG_CONFIG" >&6; } 7615$as_echo "ok" >&6; }
7616
7617 X_LIBS="$XFT_LIBS $X_LIBS"
7618 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
7619
7567else 7620 else
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569$as_echo "no" >&6; } 7622$as_echo "no" >&6; }
7570fi
7571 7623
7572
7573 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
7574 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
7575 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
7576 else
7577 # Extract the first word of "xft-config", so it can be a program name with args. 7624 # Extract the first word of "xft-config", so it can be a program name with args.
7578set dummy xft-config; ac_word=$2 7625set dummy xft-config; ac_word=$2
7579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7580$as_echo_n "checking for $ac_word... " >&6; } 7627$as_echo_n "checking for $ac_word... " >&6; }
7581if ${ac_cv_path_XFT_CONFIG+:} false; then : 7628if ${ac_cv_path_XFT_CONFIG+:} false; then :
7617 7664
7618 if test $XFT_CONFIG != no; then 7665 if test $XFT_CONFIG != no; then
7619 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" 7666 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
7620 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 7667 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
7621 fi 7668 fi
7622 fi
7623 7669
7624 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then
7625 X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS"
7626 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`"
7627 fi 7670 fi
7671
7628 7672
7629 save_LIBS="$LIBS" 7673 save_LIBS="$LIBS"
7630 LIBS="$LIBS $X_LIBS" 7674 LIBS="$LIBS $X_LIBS"
7631 for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h 7675 for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h
7632do : 7676do :
7665 7709
7666 fi 7710 fi
7667fi 7711fi
7668 7712
7669if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then 7713if test x$support_image = xyes && test x$rxvt_have_xrender = xyes; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Render >= 0.11" >&5
7715$as_echo_n "checking for Render >= 0.11... " >&6; }
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717/* end confdefs.h. */
7718
7719#include <X11/extensions/Xrender.h>
7720#if RENDER_MAJOR == 0 && RENDER_MINOR <= 10
7721error
7722#endif
7723
7724int
7725main ()
7726{
7727
7728 ;
7729 return 0;
7730}
7731_ACEOF
7732if ac_fn_cxx_try_compile "$LINENO"; then :
7733
7734else
7735 support_image=no
7736fi
7737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7738 if test x$support_image = xyes; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7740$as_echo "ok" >&6; }
7670 LIBS="$LIBS -lm" 7741 LIBS="$LIBS -lm"
7671 7742
7672$as_echo "#define XRENDER 1" >>confdefs.h 7743$as_echo "#define XRENDER 1" >>confdefs.h
7673 7744
7674 7745
7675 if test x$support_inheritpixmap = xyes; then 7746 if test x$support_inheritpixmap = xyes; then
7676 7747
7677$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h 7748$as_echo "#define ENABLE_TRANSPARENCY 1" >>confdefs.h
7678 7749
7750 fi
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753$as_echo "no" >&6; }
7679 fi 7754 fi
7680fi 7755fi
7681 7756
7682if test x$support_styles = xyes; then 7757if test x$support_styles = xyes; then
7683 7758

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines