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

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.19 by ayin, Sat Jan 21 23:07:38 2006 UTC vs.
Revision 1.25 by ayin, Mon Jan 23 09:56:47 2006 UTC

63dnl# -------------------------------------------------------------------------- 63dnl# --------------------------------------------------------------------------
64dnl# Supply default CXXFLAGS, if not specified by `CXXFLAGS=flags ./configure' 64dnl# Supply default CXXFLAGS, if not specified by `CXXFLAGS=flags ./configure'
65dnl# 65dnl#
66if test -z "$orig_CXXFLAGS"; then 66if test -z "$orig_CXXFLAGS"; then
67 if test x$GCC = xyes && test "x$GXX" = xyes; then 67 if test x$GCC = xyes && test "x$GXX" = xyes; then
68 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" 68 CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs"
69 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [], [CXXFLAGS="-g -O3"]) 69 AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [], [CXXFLAGS="-g -O3"])
70 else 70 else
71 CXXFLAGS="-O" 71 CXXFLAGS="-O"
72 fi 72 fi
73 CFLAGS="$CXXFLAGS" 73 CFLAGS="$CXXFLAGS"
325 [ --enable-xim XIM (X Input Method) protocol support], 325 [ --enable-xim XIM (X Input Method) protocol support],
326 [if test x$enableval = xyes -o x$enableval = xno; then 326 [if test x$enableval = xyes -o x$enableval = xno; then
327 support_xim=$enableval 327 support_xim=$enableval
328 fi]) 328 fi])
329 329
330AC_ARG_ENABLE(ttygid,
331 [ --enable-ttygid enable tty setting to group named "tty"],
332 [if test x$enableval = xyes; then
333 AC_DEFINE(TTY_GID_SUPPORT, 1, Define to change gid of ttys to group tty)
334 fi])
335
336AC_ARG_ENABLE(backspace-key, 330AC_ARG_ENABLE(backspace-key,
337 [ --disable-backspace-key disable handling of the backspace key], 331 [ --disable-backspace-key disable handling of the backspace key],
338 [if test x$enableval = xno; then 332 [if test x$enableval = xno; then
339 AC_DEFINE(NO_BACKSPACE_KEY, 1, Define if you don't want support for the backspace key) 333 AC_DEFINE(NO_BACKSPACE_KEY, 1, Define if you don't want support for the backspace key)
340 fi]) 334 fi])
489 fi]) 483 fi])
490 484
491dnl# -------------------------------------------------------------------------- 485dnl# --------------------------------------------------------------------------
492 486
493AC_PATH_PROG(MV, mv, mv) 487AC_PATH_PROG(MV, mv, mv)
494AC_PATH_PROG(RM, rm, rm)
495AC_PATH_PROG(CP, cp, cp) 488AC_PATH_PROG(CP, cp, cp)
496AC_PATH_PROG(LN, ln, ln) 489AC_PATH_PROG(LN, ln, ln)
497AC_PATH_PROG(SED, sed, sed) 490AC_PATH_PROG(SED, sed, sed)
498AC_PATH_PROG(ECHO, echo, echo) 491AC_PATH_PROG(ECHO, echo, echo)
499AC_PATH_PROG(CMP, cmp, cmp) 492AC_PATH_PROG(CMP, cmp, cmp)
713 setutent \ 706 setutent \
714 seteuid \ 707 seteuid \
715 setresuid \ 708 setresuid \
716 setreuid \ 709 setreuid \
717 on_exit \ 710 on_exit \
718 nanosleep \
719) 711)
720 712
721UTMP_CHECK 713UTMP_CHECK
722 714
723dnl# -------------------------------------------------------------------------- 715dnl# --------------------------------------------------------------------------
801 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) 793 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.)
802fi 794fi
803 795
804PTY_CHECK 796PTY_CHECK
805 797
798TTY_GROUP_CHECK
799
806dnl# -------------------------------------------------------------------------- 800dnl# --------------------------------------------------------------------------
807dnl# now add and remove other stuff 801dnl# now add and remove other stuff
808dnl# -------------------------------------------------------------------------- 802dnl# --------------------------------------------------------------------------
809if test x$support_xft = xyes; then 803if test x$support_xft = xyes; then
810 AC_PATH_PROG(PKG_CONFIG, pkg-config, no) 804 AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
811 AC_PATH_PROG(XFT_CONFIG, xft-config, no)
812 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 805 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
813 LIBS="$LIBS `$PKG_CONFIG xft --libs`" 806 LIBS="$LIBS `$PKG_CONFIG xft --libs`"
814 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 807 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
815 else 808 else
809 AC_PATH_PROG(XFT_CONFIG, xft-config, no)
816 if test $XFT_CONFIG != no; then 810 if test $XFT_CONFIG != no; then
817 LIBS="$LIBS `$XFT_CONFIG --libs`" 811 LIBS="$LIBS `$XFT_CONFIG --libs`"
818 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 812 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
819 fi 813 fi
820 fi 814 fi
1051 1045
1052if test x$support_xpm = xyes; then 1046if test x$support_xpm = xyes; then
1053 echo " Xpm library: $XPM_LIBS" 1047 echo " Xpm library: $XPM_LIBS"
1054fi 1048fi
1055 1049
1056echo "
1057The following are set in config.h
1058"
1059if test x$support_utmp != xyes; then 1050if test x$support_utmp != xyes; then
1060 echo " utmp support: disabled" 1051 echo " utmp support: disabled"
1061 echo 1052 echo
1062else 1053else
1063 echo " utmp support: enabled 1054 echo " utmp support: enabled
1064 utmp file: $rxvt_cv_path_utmp 1055 utmp file: $path_utmp
1065 utmpx file: $rxvt_cv_path_utmpx 1056 utmpx file: $path_utmpx
1066 wtmp file: $rxvt_cv_path_wtmp 1057 wtmp file: $path_wtmp
1067 wtmpx file: $rxvt_cv_path_wtmpx 1058 wtmpx file: $path_wtmpx
1068 lastlog file: $rxvt_cv_path_lastlog 1059 lastlog file: $path_lastlog
1069 ttys/ttytab file: $rxvt_cv_path_ttytab 1060 lastlogx file: $path_lastlogx"
1070 embedded perl: $support_perl"
1071 echo
1072fi 1061fi
1073if test x$term != x; then 1062if test x$term != x; then
1074 echo " set TERM to: $term" 1063 echo " set TERM to: $term"
1075fi 1064fi
1076if test x$terminfo != x; then 1065if test x$terminfo != x; then
1079echo " default resource name: $RESNAME" 1068echo " default resource name: $RESNAME"
1080echo " resource class: $RESCLASS" 1069echo " resource class: $RESCLASS"
1081if test x$RESFALLBACK != x; then 1070if test x$RESFALLBACK != x; then
1082 echo " resource class fallback: $RESFALLBACK" 1071 echo " resource class fallback: $RESFALLBACK"
1083fi 1072fi
1073echo
1074echo " embedded perl: $support_perl"
1084echo 1075echo
1085if test x$support_xpm = xneedsmanualspecification; then 1076if test x$support_xpm = xneedsmanualspecification; then
1086 echo ".----------------------------------------------------------------." 1077 echo ".----------------------------------------------------------------."
1087 echo ". WARNING: --enable-xpm-background was specified however the ." 1078 echo ". WARNING: --enable-xpm-background was specified however the ."
1088 echo ". XPM includes files and libraries could not be found. ." 1079 echo ". XPM includes files and libraries could not be found. ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines