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

Comparing rxvt-unicode/configure (file contents):
Revision 1.15 by pcg, Wed Mar 3 04:07:45 2004 UTC vs.
Revision 1.20 by pcg, Sun Mar 14 17:50:40 2004 UTC

1029 --disable-libtool-lock avoid locking (might break parallel builds) 1029 --disable-libtool-lock avoid locking (might break parallel builds)
1030 --enable-everything enable standard non-multichoice features 1030 --enable-everything enable standard non-multichoice features
1031 NOTE: this option is order dependent 1031 NOTE: this option is order dependent
1032 NOTE: automatically enabled with --enable-shared 1032 NOTE: automatically enabled with --enable-shared
1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1033 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1034 --enable-combining enable composition of base and combining characters
1034 --enable-xft enable xft support on systems that have it 1035 --enable-xft enable xft support on systems that have it
1035 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1036 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1037 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1038 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1075 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1076 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no 1077 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-pic try to use only PIC/non-PIC objects default=use both 1078 --with-pic try to use only PIC/non-PIC objects default=use both
1078 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all) 1079 --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,all)
1079 --with-res-name=NAME use this as default resource name (default: urxvt) 1080 --with-res-name=NAME use this as default resource name (default: urxvt)
1080 --with-res-class=NAME use this as the resource class (default: URxvt) 1081 --with-res-class=CLASS use this as the resource class (default: URxvt)
1081 --with-name=NAME set the basename for the installed binaries (default: urxvt) 1082 --with-name=NAME set the basename for the installed binaries (default: urxvt)
1082 --with-term=NAME set the terminal to NAME (default: rxvt) 1083 --with-term=NAME set the terminal to NAME (default: rxvt)
1083 --with-terminfo=PATH set the path to the terminfo tree to PATH 1084 --with-terminfo=PATH set the path to the terminfo tree to PATH
1084 --with-x use the X Window System 1085 --with-x use the X Window System
1085 --with-xpm-includes=DIR use XPM includes in DIR 1086 --with-xpm-includes=DIR use XPM includes in DIR
5034# Some flags need to be propagated to the compiler or linker for good 5035# Some flags need to be propagated to the compiler or linker for good
5035# libtool support. 5036# libtool support.
5036case "$host" in 5037case "$host" in
5037*-*-irix6*) 5038*-*-irix6*)
5038 # Find out which ABI we are using. 5039 # Find out which ABI we are using.
5039 echo '#line 5039 "configure"' > conftest.$ac_ext 5040 echo '#line 5040 "configure"' > conftest.$ac_ext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>&5 5042 (eval $ac_compile) 2>&5
5042 ac_status=$? 5043 ac_status=$?
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; then 5045 (exit $ac_status); }; then
5585# builds. 5586# builds.
5586chmod -w . 5587chmod -w .
5587save_CFLAGS="$CFLAGS" 5588save_CFLAGS="$CFLAGS"
5588CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5589CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5589compiler_c_o=no 5590compiler_c_o=no
5590if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5591if { (eval echo configure:5591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5591 # The compiler can only warn and ignore the option if not recognized 5592 # The compiler can only warn and ignore the option if not recognized
5592 # So say no if there are warnings 5593 # So say no if there are warnings
5593 if test -s out/conftest.err; then 5594 if test -s out/conftest.err; then
5594 compiler_c_o=no 5595 compiler_c_o=no
5595 else 5596 else
7201 lt_cv_dlopen_self=cross 7202 lt_cv_dlopen_self=cross
7202else 7203else
7203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7204 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7204 lt_status=$lt_dlunknown 7205 lt_status=$lt_dlunknown
7205 cat > conftest.$ac_ext <<EOF 7206 cat > conftest.$ac_ext <<EOF
7206#line 7206 "configure" 7207#line 7207 "configure"
7207#include "confdefs.h" 7208#include "confdefs.h"
7208 7209
7209#if HAVE_DLFCN_H 7210#if HAVE_DLFCN_H
7210#include <dlfcn.h> 7211#include <dlfcn.h>
7211#endif 7212#endif
7299 lt_cv_dlopen_self_static=cross 7300 lt_cv_dlopen_self_static=cross
7300else 7301else
7301 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7302 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7302 lt_status=$lt_dlunknown 7303 lt_status=$lt_dlunknown
7303 cat > conftest.$ac_ext <<EOF 7304 cat > conftest.$ac_ext <<EOF
7304#line 7304 "configure" 7305#line 7305 "configure"
7305#include "confdefs.h" 7306#include "confdefs.h"
7306 7307
7307#if HAVE_DLFCN_H 7308#if HAVE_DLFCN_H
7308#include <dlfcn.h> 7309#include <dlfcn.h>
7309#endif 7310#endif
8052support_scroll_plain=no 8053support_scroll_plain=no
8053support_xim=no 8054support_xim=no
8054support_xpm=no 8055support_xpm=no
8055support_xft=no 8056support_xft=no
8056support_unicode3=no 8057support_unicode3=no
8058support_combining=no
8057codesets= 8059codesets=
8058 8060
8059 8061
8060if test "x$enable_shared" = xyes; then 8062if test "x$enable_shared" = xyes; then
8061 8063
8093 support_wtmp=yes 8095 support_wtmp=yes
8094 support_xim=yes 8096 support_xim=yes
8095 support_xpm=yes 8097 support_xpm=yes
8096 support_xft=yes 8098 support_xft=yes
8097 support_unicode3=yes 8099 support_unicode3=yes
8100 support_combining=yes
8098 codesets=all 8101 codesets=all
8099 fi 8102 fi
8100fi; 8103fi;
8101 8104
8102# Check whether --enable-unicode3 or --disable-unicode3 was given. 8105# Check whether --enable-unicode3 or --disable-unicode3 was given.
8103if test "${enable_unicode3+set}" = set; then 8106if test "${enable_unicode3+set}" = set; then
8104 enableval="$enable_unicode3" 8107 enableval="$enable_unicode3"
8105 if test x$enableval = xyes -o x$enableval = xno; then 8108 if test x$enableval = xyes -o x$enableval = xno; then
8106 support_unicode3=yes 8109 support_unicode3=yes
8110 fi
8111fi;
8112
8113# Check whether --enable-combining or --disable-combining was given.
8114if test "${enable_combining+set}" = set; then
8115 enableval="$enable_combining"
8116 if test x$enableval = xyes -o x$enableval = xno; then
8117 support_combining=yes
8107 fi 8118 fi
8108fi; 8119fi;
8109 8120
8110# Check whether --enable-xft or --disable-xft was given. 8121# Check whether --enable-xft or --disable-xft was given.
8111if test "${enable_xft+set}" = set; then 8122if test "${enable_xft+set}" = set; then
15859/* confdefs.h. */ 15870/* confdefs.h. */
15860_ACEOF 15871_ACEOF
15861cat confdefs.h >>conftest.$ac_ext 15872cat confdefs.h >>conftest.$ac_ext
15862cat >>conftest.$ac_ext <<_ACEOF 15873cat >>conftest.$ac_ext <<_ACEOF
15863/* end confdefs.h. */ 15874/* end confdefs.h. */
15864#include <locale.h> 15875#include <clocale>
15865int 15876int
15866main () 15877main ()
15867{ 15878{
15868setlocale(LC_CTYPE, ""); 15879setlocale(LC_CTYPE, "");
15869 ; 15880 ;
15983cat confdefs.h >>conftest.$ac_ext 15994cat confdefs.h >>conftest.$ac_ext
15984cat >>conftest.$ac_ext <<_ACEOF 15995cat >>conftest.$ac_ext <<_ACEOF
15985/* end confdefs.h. */ 15996/* end confdefs.h. */
15986#define _GNU_SOURCE 15997#define _GNU_SOURCE
15987#ifdef HAVE_STDLIB_H 15998#ifdef HAVE_STDLIB_H
15988# include <stdlib.h> 15999# include <cstdlib>
15989#endif 16000#endif
15990int 16001int
15991main () 16002main ()
15992{ 16003{
15993(void)getpt(); 16004(void)getpt();
16393cat >>confdefs.h <<\_ACEOF 16404cat >>confdefs.h <<\_ACEOF
16394#define UNICODE_3 1 16405#define UNICODE_3 1
16395_ACEOF 16406_ACEOF
16396 16407
16397fi 16408fi
16409if test x$support_combining = xyes; then
16410
16411cat >>confdefs.h <<\_ACEOF
16412#define ENABLE_COMBINING 1
16413_ACEOF
16414
16415fi
16398if test x$codesets = xall; then 16416if test x$codesets = xall; then
16399 codesets=jp,jp-ext,kr,cn,cn-ext,vn 16417 codesets=jp,jp-ext,kr,cn,cn-ext
16400fi 16418fi
16401for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do 16419for codeset in `echo $codesets | tr "a-z,\\-" "A-Z _"`; do
16402 16420
16403cat >>confdefs.h <<\_ACEOF 16421cat >>confdefs.h <<\_ACEOF
16404#define ENCODING_EU 1 16422#define ENCODING_EU 1
16494 include_stdint_h="#include <stdint.h>" 16512 include_stdint_h="#include <stdint.h>"
16495else 16513else
16496 include_stdint_h="/* #include <stdint.h> */" 16514 include_stdint_h="/* #include <stdint.h> */"
16497fi 16515fi
16498if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then 16516if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then
16499 include_stdarg_h="#include <stdarg.h>" 16517 include_stdarg_h="#include <cstdarg>"
16500else 16518else
16501 include_stdarg_h="/* #include <stdarg.h> */" 16519 include_stdarg_h="/* #include <cstdarg> */"
16502fi 16520fi
16503if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then 16521if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then
16504 include_stdlib_h="#include <stdlib.h>" 16522 include_stdlib_h="#include <cstdlib>"
16505else 16523else
16506 include_stdlib_h="/* #include <stdlib.h> */" 16524 include_stdlib_h="/* #include <cstdlib> */"
16507fi 16525fi
16508if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then 16526if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then
16509 include_unistd_h="#include <unistd.h>" 16527 include_unistd_h="#include <unistd.h>"
16510else 16528else
16511 include_unistd_h="/* #include <unistd.h> */" 16529 include_unistd_h="/* #include <unistd.h> */"
16512fi 16530fi
16513if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then 16531if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then
16514 include_string_h="#include <string.h>" 16532 include_string_h="#include <cstring>"
16515else 16533else
16516 include_string_h="/* #include <string.h> */" 16534 include_string_h="/* #include <cstring> */"
16517fi 16535fi
16518if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then 16536if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then
16519 include_fcntl_h="#include <fcntl.h>" 16537 include_fcntl_h="#include <fcntl.h>"
16520else 16538else
16521 include_fcntl_h="/* #include <fcntl.h> */" 16539 include_fcntl_h="/* #include <fcntl.h> */"
18013echo " 18031echo "
18014The following are set in config.h 18032The following are set in config.h
18015" 18033"
18016echo " pty/tty type: "$rxvt_cv_ptys 18034echo " pty/tty type: "$rxvt_cv_ptys
18017if test x$support_utmp != xyes; then 18035if test x$support_utmp != xyes; then
18018 echo " utmp support: disabled 18036 echo " utmp support: disabled"
18019" 18037 echo
18020else 18038else
18021 echo " utmp support: enabled 18039 echo " utmp support: enabled
18022 utmp file: $rxvt_cv_path_utmp 18040 utmp file: $rxvt_cv_path_utmp
18023 utmpx file: $rxvt_cv_path_utmpx 18041 utmpx file: $rxvt_cv_path_utmpx
18024 wtmp file: $rxvt_cv_path_wtmp 18042 wtmp file: $rxvt_cv_path_wtmp
18025 wtmpx file: $rxvt_cv_path_wtmpx 18043 wtmpx file: $rxvt_cv_path_wtmpx
18026 lastlog file: $rxvt_cv_path_lastlog 18044 lastlog file: $rxvt_cv_path_lastlog
18027 ttys/ttytab file: $rxvt_cv_path_ttytab 18045 ttys/ttytab file: $rxvt_cv_path_ttytab"
18028" 18046 echo
18029fi 18047fi
18030if test x$term != x; then 18048if test x$term != x; then
18031 echo " set TERM to: $term 18049 echo " set TERM to: $term"
18032"
18033fi 18050fi
18034if test x$terminfo != x; then 18051if test x$terminfo != x; then
18035 echo " set TERMINFO to: $terminfo 18052 echo " set TERMINFO to: $terminfo"
18036"
18037fi 18053fi
18054echo " default resource name: $RESNAME"
18055echo " resource class: $RESCLASS"
18056if test x$RESFALLBACK != x; then
18057 echo " resource class fallback: $RESFALLBACK"
18058fi
18059echo
18038if test x$rxvt_cv_ptys = xUNKNOWN; then 18060if test x$rxvt_cv_ptys = xUNKNOWN; then
18039 echo ".----------------------------------------------------------------." 18061 echo ".----------------------------------------------------------------."
18040 echo ". WARNING: could not determine pty/tty type. Do not build until ." 18062 echo ". WARNING: could not determine pty/tty type. Do not build until ."
18041 echo ". the appropriate PTYS_ARE_* is defined in config.h ." 18063 echo ". the appropriate PTYS_ARE_* is defined in config.h ."
18042 echo ".----------------------------------------------------------------." 18064 echo ".----------------------------------------------------------------."
18056 echo ". WARNING: --enable-xim was specified however the locale support ." 18078 echo ". WARNING: --enable-xim was specified however the locale support ."
18057 echo ". functions could not be found. ." 18079 echo ". functions could not be found. ."
18058 echo ". XIM is now being DISABLED! ." 18080 echo ". XIM is now being DISABLED! ."
18059 echo ".----------------------------------------------------------------." 18081 echo ".----------------------------------------------------------------."
18060fi 18082fi
18083
18061echo " *** Please check src/feature.h for further options *** 18084echo " *** Please check src/feature.h for further options ***"
18062" 18085echo
18086
18087echo ".----------------------------------------------------------------."
18088echo ". NOTE: most features are disabled by default, try ."
18089echo ". configure --help to get an idea of the optional features ."
18090echo ".----------------------------------------------------------------."
18091echo
18092

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines