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

Comparing rxvt-unicode/configure (file contents):
Revision 1.161 by root, Sat Dec 13 10:47:15 2014 UTC vs.
Revision 1.165 by root, Wed Jan 22 13:57:10 2020 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 sys/timerfd.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 linux/fs.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
5477 5568
5478 fi 5569 fi
5479 5570
5480fi 5571fi
5481done 5572done
5573
5574
5575ac_fn_cxx_check_type "$LINENO" "__kernel_rwf_t" "ac_cv_type___kernel_rwf_t" "#include <linux/fs.h>
5576"
5577if test "x$ac_cv_type___kernel_rwf_t" = xyes; then :
5578
5579
5580$as_echo "#define HAVE_KERNEL_RWF_T 1" >>confdefs.h
5581
5582
5583fi
5482 5584
5483 5585
5484if test -z "$LIBEV_M4_AVOID_LIBM"; then 5586if test -z "$LIBEV_M4_AVOID_LIBM"; then
5485 LIBM=m 5587 LIBM=m
5486fi 5588fi
6270 LDFLAGS=$ac_save_LDFLAGS 6372 LDFLAGS=$ac_save_LDFLAGS
6271 6373
6272fi 6374fi
6273 6375
6274 6376
6275image_lib=none 6377if 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. 6378 # 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 6379set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6285$as_echo_n "checking for $ac_word... " >&6; } 6381$as_echo_n "checking for $ac_word... " >&6; }
6286if ${ac_cv_path_PKG_CONFIG+:} false; then : 6382if ${ac_cv_path_PKG_CONFIG+:} false; then :
6287 $as_echo_n "(cached) " >&6 6383 $as_echo_n "(cached) " >&6
6288else 6384else
6304 fi 6400 fi
6305done 6401done
6306 done 6402 done
6307IFS=$as_save_IFS 6403IFS=$as_save_IFS
6308 6404
6309 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6310 ;; 6405 ;;
6311esac 6406esac
6312fi 6407fi
6313PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6408PKG_CONFIG=$ac_cv_path_PKG_CONFIG
6314if test -n "$PKG_CONFIG"; then 6409if test -n "$PKG_CONFIG"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319$as_echo "no" >&6; } 6414$as_echo "no" >&6; }
6320fi 6415fi
6321 6416
6322 6417
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 6418fi
6343 6419if test -z "$ac_cv_path_PKG_CONFIG"; then
6344 6420 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. 6421 # Extract the first word of "pkg-config", so it can be a program name with args.
6353set dummy pkg-config; ac_word=$2 6422set dummy pkg-config; ac_word=$2
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355$as_echo_n "checking for $ac_word... " >&6; } 6424$as_echo_n "checking for $ac_word... " >&6; }
6356if ${ac_cv_path_PKG_CONFIG+:} false; then : 6425if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
6357 $as_echo_n "(cached) " >&6 6426 $as_echo_n "(cached) " >&6
6358else 6427else
6359 case $PKG_CONFIG in 6428 case $ac_pt_PKG_CONFIG in
6360 [\\/]* | ?:[\\/]*) 6429 [\\/]* | ?:[\\/]*)
6361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6430 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
6362 ;; 6431 ;;
6363 *) 6432 *)
6364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365for as_dir in $PATH 6434for as_dir in $PATH
6366do 6435do
6367 IFS=$as_save_IFS 6436 IFS=$as_save_IFS
6368 test -z "$as_dir" && as_dir=. 6437 test -z "$as_dir" && as_dir=.
6369 for ac_exec_ext in '' $ac_executable_extensions; do 6438 for ac_exec_ext in '' $ac_executable_extensions; do
6370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6439 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" 6440 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 6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 break 2 6442 break 2
6374 fi 6443 fi
6375done 6444done
6376 done 6445 done
6377IFS=$as_save_IFS 6446IFS=$as_save_IFS
6378 6447
6379 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
6380 ;; 6448 ;;
6381esac 6449esac
6382fi 6450fi
6383PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6451ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
6384if test -n "$PKG_CONFIG"; then 6452if test -n "$ac_pt_PKG_CONFIG"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
6386$as_echo "$PKG_CONFIG" >&6; } 6454$as_echo "$ac_pt_PKG_CONFIG" >&6; }
6387else 6455else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389$as_echo "no" >&6; } 6457$as_echo "no" >&6; }
6390fi 6458fi
6391 6459
6460 if test "x$ac_pt_PKG_CONFIG" = x; then
6461 PKG_CONFIG="no"
6462 else
6463 case $cross_compiling:$ac_tool_warned in
6464yes:)
6465{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6466$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6467ac_tool_warned=yes ;;
6468esac
6469 PKG_CONFIG=$ac_pt_PKG_CONFIG
6470 fi
6471else
6472 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
6473fi
6392 6474
6475
6476image_lib=none
6477
6478PIXBUF_CFLAGS=
6479PIXBUF_LIBS=
6480
6481if test x$support_pixbuf = xyes; then
6482
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification" >&5 6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk-pixbuf-2.0" >&5
6394$as_echo_n "checking for libstartup-notification... " >&6; } 6484$as_echo_n "checking for gdk-pixbuf-2.0... " >&6; }
6395 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then 6485 if test $PKG_CONFIG != no && $PKG_CONFIG --exists gdk-pixbuf-2.0; then
6396 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG libstartup-notification-1.0 --cflags`" 6486 PIXBUF_CFLAGS="`$PKG_CONFIG --cflags gdk-pixbuf-2.0`"
6397 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG libstartup-notification-1.0 --libs`" 6487 PIXBUF_LIBS="`$PKG_CONFIG --libs gdk-pixbuf-2.0`"
6398 support_startup_notification=yes
6399 fi
6400 6488
6401 if test x$support_startup_notification = xyes; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6403$as_echo "ok" >&6; } 6490$as_echo "ok" >&6; }
6404 6491
6492 image_lib=gdk-pixbuf
6493
6405$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h 6494$as_echo "#define HAVE_PIXBUF 1" >>confdefs.h
6495
6406 6496
6407 else 6497 else
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6409$as_echo "no" >&6; } 6499$as_echo "no" >&6; }
6500 :
6410 fi 6501 fi
6411fi
6412 6502
6503fi
6413 6504
6414 6505
6506
6507
6508STARTUP_NOTIFICATION_CFLAGS=
6509STARTUP_NOTIFICATION_LIBS=
6510
6511if test x$support_startup_notification = xyes; then
6512
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstartup-notification-1.0" >&5
6514$as_echo_n "checking for libstartup-notification-1.0... " >&6; }
6515 if test $PKG_CONFIG != no && $PKG_CONFIG --exists libstartup-notification-1.0; then
6516 STARTUP_NOTIFICATION_CFLAGS="`$PKG_CONFIG --cflags libstartup-notification-1.0`"
6517 STARTUP_NOTIFICATION_LIBS="`$PKG_CONFIG --libs libstartup-notification-1.0`"
6518
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6520$as_echo "ok" >&6; }
6521
6522
6523$as_echo "#define HAVE_STARTUP_NOTIFICATION 1" >>confdefs.h
6524
6525
6526 else
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6528$as_echo "no" >&6; }
6529 :
6530 fi
6531
6532fi
6533
6534
6535
6536
6537if test x$support_frills = xyes; then
6538
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmu" >&5
6540$as_echo_n "checking for xmu... " >&6; }
6541 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xmu; then
6542 XMU_CFLAGS="`$PKG_CONFIG --cflags xmu`"
6543 XMU_LIBS="`$PKG_CONFIG --libs xmu`"
6544
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6546$as_echo "ok" >&6; }
6547
6548 X_LIBS="$XMU_LIBS $X_LIBS"
6549 CPPFLAGS="$CPPFLAGS $XMU_CFLAGS"
6550
6551$as_echo "#define HAVE_XMU 1" >>confdefs.h
6552
6553
6554 else
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556$as_echo "no" >&6; }
6557 :
6558 fi
6559
6560fi
6415 6561
6416for ac_header in \ 6562for ac_header in \
6417 sys/byteorder.h \ 6563 sys/byteorder.h \
6418 sys/ioctl.h \ 6564 sys/ioctl.h \
6419 sys/sockio.h \ 6565 sys/sockio.h \
6674 ac_fn_cxx_check_header_mongrel "$LINENO" "utmp.h" "ac_cv_header_utmp_h" "$ac_includes_default" 6820 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 : 6821if test "x$ac_cv_header_utmp_h" = xyes; then :
6676 cat >>confdefs.h <<_ACEOF 6822 cat >>confdefs.h <<_ACEOF
6677#define HAVE_UTMP_H 1 6823#define HAVE_UTMP_H 1
6678_ACEOF 6824_ACEOF
6825
6679 ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" " 6826ac_fn_cxx_check_type "$LINENO" "struct utmp" "ac_cv_type_struct_utmp" "
6680#include <sys/types.h> 6827#include <sys/types.h>
6681#include <utmp.h> 6828#include <utmp.h>
6682 6829
6683" 6830"
6684if test "x$ac_cv_type_struct_utmp" = xyes; then : 6831if test "x$ac_cv_type_struct_utmp" = xyes; then :
6689 6836
6690 6837
6691fi 6838fi
6692 6839
6693 6840
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" " 6841ac_fn_cxx_check_member "$LINENO" "struct utmp" "ut_host" "ac_cv_member_struct_utmp_ut_host" "
6752#include <sys/types.h> 6842#include <sys/types.h>
6753#include <utmp.h> 6843#include <utmp.h>
6754 6844
6755" 6845"
6782 ac_fn_cxx_check_header_mongrel "$LINENO" "utmpx.h" "ac_cv_header_utmpx_h" "$ac_includes_default" 6872 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 : 6873if test "x$ac_cv_header_utmpx_h" = xyes; then :
6784 cat >>confdefs.h <<_ACEOF 6874 cat >>confdefs.h <<_ACEOF
6785#define HAVE_UTMPX_H 1 6875#define HAVE_UTMPX_H 1
6786_ACEOF 6876_ACEOF
6877
6787 ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" " 6878ac_fn_cxx_check_type "$LINENO" "struct utmpx" "ac_cv_type_struct_utmpx" "
6788#include <sys/types.h> 6879#include <sys/types.h>
6789#include <utmpx.h> 6880#include <utmpx.h>
6790 6881
6791" 6882"
6792if test "x$ac_cv_type_struct_utmpx" = xyes; then : 6883if test "x$ac_cv_type_struct_utmpx" = xyes; then :
7480if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then 7571if test x$support_inheritpixmap = xyes || test x$support_pixbuf = xyes; then
7481 support_image=yes 7572 support_image=yes
7482fi 7573fi
7483if test x$support_xft = xyes || test x$support_image = xyes; then 7574if test x$support_xft = xyes || test x$support_image = xyes; then
7484 rxvt_have_xrender=no 7575 rxvt_have_xrender=no
7485 # Extract the first word of "pkg-config", so it can be a program name with args. 7576
7486set dummy pkg-config; ac_word=$2
7487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xrender" >&5
7488$as_echo_n "checking for $ac_word... " >&6; } 7578$as_echo_n "checking for xrender... " >&6; }
7489if ${ac_cv_path_PKG_CONFIG+:} false; then :
7490 $as_echo_n "(cached) " >&6
7491else
7492 case $PKG_CONFIG in
7493 [\\/]* | ?:[\\/]*)
7494 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7495 ;;
7496 *)
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498for as_dir in $PATH
7499do
7500 IFS=$as_save_IFS
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7504 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 break 2
7507 fi
7508done
7509 done
7510IFS=$as_save_IFS
7511
7512 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7513 ;;
7514esac
7515fi
7516PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7517if test -n "$PKG_CONFIG"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7519$as_echo "$PKG_CONFIG" >&6; }
7520else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522$as_echo "no" >&6; }
7523fi
7524
7525
7526 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then 7579 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xrender; then
7527 X_LIBS="`$PKG_CONFIG xrender --libs` $X_LIBS" 7580 XRENDER_CFLAGS="`$PKG_CONFIG --cflags xrender`"
7528 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xrender --cflags`" 7581 XRENDER_LIBS="`$PKG_CONFIG --libs xrender`"
7582
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7584$as_echo "ok" >&6; }
7585
7586 X_LIBS="$XRENDER_LIBS $X_LIBS"
7587 CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS"
7529 rxvt_have_xrender=yes 7588 rxvt_have_xrender=yes
7530 7589
7531 save_LIBS="$LIBS" 7590 save_LIBS="$LIBS"
7532 LIBS="$LIBS $X_LIBS" 7591 LIBS="$LIBS $X_LIBS"
7533 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default" 7592 ac_fn_cxx_check_header_mongrel "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "$ac_includes_default"
7544else 7603else
7545 rxvt_have_xrender=no 7604 rxvt_have_xrender=no
7546fi 7605fi
7547 7606
7548 LIBS="$save_LIBS" 7607 LIBS="$save_LIBS"
7608
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611$as_echo "no" >&6; }
7612 :
7549 fi 7613 fi
7614
7550fi 7615fi
7551 7616
7552if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then 7617if test x$support_xft = xyes && test x$rxvt_have_xrender = xyes; then
7553 # Extract the first word of "pkg-config", so it can be a program name with args. 7618
7554set dummy pkg-config; ac_word=$2
7555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fontconfig xft" >&5
7556$as_echo_n "checking for $ac_word... " >&6; } 7620$as_echo_n "checking for fontconfig xft... " >&6; }
7557if ${ac_cv_path_PKG_CONFIG+:} false; then : 7621 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig xft; then
7558 $as_echo_n "(cached) " >&6 7622 XFT_CFLAGS="`$PKG_CONFIG --cflags fontconfig xft`"
7559else 7623 XFT_LIBS="`$PKG_CONFIG --libs fontconfig xft`"
7560 case $PKG_CONFIG in
7561 [\\/]* | ?:[\\/]*)
7562 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7563 ;;
7564 *)
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566for as_dir in $PATH
7567do
7568 IFS=$as_save_IFS
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 break 2
7575 fi
7576done
7577 done
7578IFS=$as_save_IFS
7579 7624
7580 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
7581 ;;
7582esac
7583fi
7584PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7585if test -n "$PKG_CONFIG"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7587$as_echo "$PKG_CONFIG" >&6; } 7626$as_echo "ok" >&6; }
7627
7628 X_LIBS="$XFT_LIBS $X_LIBS"
7629 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
7630
7588else 7631 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590$as_echo "no" >&6; } 7633$as_echo "no" >&6; }
7591fi
7592 7634
7593
7594 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
7595 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
7596 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
7597 else
7598 # Extract the first word of "xft-config", so it can be a program name with args. 7635 # Extract the first word of "xft-config", so it can be a program name with args.
7599set dummy xft-config; ac_word=$2 7636set dummy xft-config; ac_word=$2
7600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7601$as_echo_n "checking for $ac_word... " >&6; } 7638$as_echo_n "checking for $ac_word... " >&6; }
7602if ${ac_cv_path_XFT_CONFIG+:} false; then : 7639if ${ac_cv_path_XFT_CONFIG+:} false; then :
7638 7675
7639 if test $XFT_CONFIG != no; then 7676 if test $XFT_CONFIG != no; then
7640 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" 7677 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
7641 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 7678 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
7642 fi 7679 fi
7643 fi
7644 7680
7645 if test $PKG_CONFIG != no && $PKG_CONFIG --exists fontconfig; then
7646 X_LIBS="`$PKG_CONFIG fontconfig --libs` $X_LIBS"
7647 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG fontconfig --cflags`"
7648 fi 7681 fi
7682
7649 7683
7650 save_LIBS="$LIBS" 7684 save_LIBS="$LIBS"
7651 LIBS="$LIBS $X_LIBS" 7685 LIBS="$LIBS $X_LIBS"
7652 for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h 7686 for ac_header in X11/Xft/Xft.h fontconfig/fontconfig.h
7653do : 7687do :

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines