… | |
… | |
63 | dnl# -------------------------------------------------------------------------- |
63 | dnl# -------------------------------------------------------------------------- |
64 | dnl# Supply default CXXFLAGS, if not specified by `CXXFLAGS=flags ./configure' |
64 | dnl# Supply default CXXFLAGS, if not specified by `CXXFLAGS=flags ./configure' |
65 | dnl# |
65 | dnl# |
66 | if test -z "$orig_CXXFLAGS"; then |
66 | if 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" |
… | |
… | |
323 | |
323 | |
324 | AC_ARG_ENABLE(xim, |
324 | AC_ARG_ENABLE(xim, |
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]) |
|
|
329 | |
|
|
330 | AC_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]) |
328 | fi]) |
335 | |
329 | |
336 | AC_ARG_ENABLE(backspace-key, |
330 | AC_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 |
… | |
… | |
713 | setutent \ |
707 | setutent \ |
714 | seteuid \ |
708 | seteuid \ |
715 | setresuid \ |
709 | setresuid \ |
716 | setreuid \ |
710 | setreuid \ |
717 | on_exit \ |
711 | on_exit \ |
718 | nanosleep \ |
|
|
719 | ) |
712 | ) |
720 | |
713 | |
721 | UTMP_CHECK |
714 | UTMP_CHECK |
722 | |
715 | |
723 | dnl# -------------------------------------------------------------------------- |
716 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
801 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
794 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
802 | fi |
795 | fi |
803 | |
796 | |
804 | PTY_CHECK |
797 | PTY_CHECK |
805 | |
798 | |
|
|
799 | TTY_GROUP_CHECK |
|
|
800 | |
806 | dnl# -------------------------------------------------------------------------- |
801 | dnl# -------------------------------------------------------------------------- |
807 | dnl# now add and remove other stuff |
802 | dnl# now add and remove other stuff |
808 | dnl# -------------------------------------------------------------------------- |
803 | dnl# -------------------------------------------------------------------------- |
809 | if test x$support_xft = xyes; then |
804 | if test x$support_xft = xyes; then |
810 | AC_PATH_PROG(PKG_CONFIG, pkg-config, no) |
805 | 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 |
806 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
813 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
807 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
814 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
808 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
815 | else |
809 | else |
|
|
810 | AC_PATH_PROG(XFT_CONFIG, xft-config, no) |
816 | if test $XFT_CONFIG != no; then |
811 | if test $XFT_CONFIG != no; then |
817 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
812 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
818 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
813 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
819 | fi |
814 | fi |
820 | fi |
815 | fi |
… | |
… | |
1051 | |
1046 | |
1052 | if test x$support_xpm = xyes; then |
1047 | if test x$support_xpm = xyes; then |
1053 | echo " Xpm library: $XPM_LIBS" |
1048 | echo " Xpm library: $XPM_LIBS" |
1054 | fi |
1049 | fi |
1055 | |
1050 | |
1056 | echo " |
|
|
1057 | The following are set in config.h |
|
|
1058 | " |
|
|
1059 | if test x$support_utmp != xyes; then |
1051 | if test x$support_utmp != xyes; then |
1060 | echo " utmp support: disabled" |
1052 | echo " utmp support: disabled" |
1061 | echo |
1053 | echo |
1062 | else |
1054 | else |
1063 | echo " utmp support: enabled |
1055 | echo " utmp support: enabled |
1064 | utmp file: $rxvt_cv_path_utmp |
1056 | utmp file: $path_utmp |
1065 | utmpx file: $rxvt_cv_path_utmpx |
1057 | utmpx file: $path_utmpx |
1066 | wtmp file: $rxvt_cv_path_wtmp |
1058 | wtmp file: $path_wtmp |
1067 | wtmpx file: $rxvt_cv_path_wtmpx |
1059 | wtmpx file: $path_wtmpx |
1068 | lastlog file: $rxvt_cv_path_lastlog |
1060 | lastlog file: $path_lastlog |
1069 | ttys/ttytab file: $rxvt_cv_path_ttytab |
1061 | lastlogx file: $path_lastlogx" |
1070 | embedded perl: $support_perl" |
|
|
1071 | echo |
|
|
1072 | fi |
1062 | fi |
1073 | if test x$term != x; then |
1063 | if test x$term != x; then |
1074 | echo " set TERM to: $term" |
1064 | echo " set TERM to: $term" |
1075 | fi |
1065 | fi |
1076 | if test x$terminfo != x; then |
1066 | if test x$terminfo != x; then |
… | |
… | |
1079 | echo " default resource name: $RESNAME" |
1069 | echo " default resource name: $RESNAME" |
1080 | echo " resource class: $RESCLASS" |
1070 | echo " resource class: $RESCLASS" |
1081 | if test x$RESFALLBACK != x; then |
1071 | if test x$RESFALLBACK != x; then |
1082 | echo " resource class fallback: $RESFALLBACK" |
1072 | echo " resource class fallback: $RESFALLBACK" |
1083 | fi |
1073 | fi |
|
|
1074 | echo |
|
|
1075 | echo " embedded perl: $support_perl" |
1084 | echo |
1076 | echo |
1085 | if test x$support_xpm = xneedsmanualspecification; then |
1077 | if test x$support_xpm = xneedsmanualspecification; then |
1086 | echo ".----------------------------------------------------------------." |
1078 | echo ".----------------------------------------------------------------." |
1087 | echo ". WARNING: --enable-xpm-background was specified however the ." |
1079 | echo ". WARNING: --enable-xpm-background was specified however the ." |
1088 | echo ". XPM includes files and libraries could not be found. ." |
1080 | echo ". XPM includes files and libraries could not be found. ." |