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

Comparing rxvt-unicode/configure (file contents):
Revision 1.21 by pcg, Sun Mar 14 23:14:37 2004 UTC vs.
Revision 1.24 by pcg, Fri Apr 2 17:59:49 2004 UTC

1036 --enable-utmp enable utmp (utmpx) support 1036 --enable-utmp enable utmp (utmpx) support
1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1037 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1038 --enable-lastlog enable lastlog support (requires --enable-utmp) 1038 --enable-lastlog enable lastlog support (requires --enable-utmp)
1039 --enable-xpm-background enable XPM background pixmaps 1039 --enable-xpm-background enable XPM background pixmaps
1040 --enable-transparency enable transparent backgrounds 1040 --enable-transparency enable transparent backgrounds
1041 --enable-tinting enable tinting of transparent bg
1041 --enable-menubar enable menubar 1042 --enable-menubar enable menubar
1042 --enable-rxvt-scroll enable rxvt style scrollbar 1043 --enable-rxvt-scroll enable rxvt style scrollbar
1043 --enable-next-scroll enable NeXT style scrollbar 1044 --enable-next-scroll enable NeXT style scrollbar
1044 --enable-xterm-scroll enable Xterm style scrollbar 1045 --enable-xterm-scroll enable Xterm style scrollbar
1045 --enable-plain-scroll enable plain style scrollbar 1046 --enable-plain-scroll enable plain style scrollbar
3279LINKER=$LINKER 3280LINKER=$LINKER
3280 3281
3281 3282
3282CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE" 3283CPPFLAGS="-D_GNU_SOURCE -D_XOPEN_SOURCE"
3283 3284
3284if test x$GXX = xyes; then
3285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
3286fi
3287 3285
3288ac_ext=cc 3286ac_ext=cc
3289ac_cpp='$CXXCPP $CPPFLAGS' 3287ac_cpp='$CXXCPP $CPPFLAGS'
3290ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3288ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3289ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033# Some flags need to be propagated to the compiler or linker for good 5031# Some flags need to be propagated to the compiler or linker for good
5034# libtool support. 5032# libtool support.
5035case "$host" in 5033case "$host" in
5036*-*-irix6*) 5034*-*-irix6*)
5037 # Find out which ABI we are using. 5035 # Find out which ABI we are using.
5038 echo '#line 5038 "configure"' > conftest.$ac_ext 5036 echo '#line 5036 "configure"' > conftest.$ac_ext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>&5 5038 (eval $ac_compile) 2>&5
5041 ac_status=$? 5039 ac_status=$?
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); }; then 5041 (exit $ac_status); }; then
5584# builds. 5582# builds.
5585chmod -w . 5583chmod -w .
5586save_CFLAGS="$CFLAGS" 5584save_CFLAGS="$CFLAGS"
5587CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" 5585CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5588compiler_c_o=no 5586compiler_c_o=no
5589if { (eval echo configure:5589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then 5587if { (eval echo configure:5587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5590 # The compiler can only warn and ignore the option if not recognized 5588 # The compiler can only warn and ignore the option if not recognized
5591 # So say no if there are warnings 5589 # So say no if there are warnings
5592 if test -s out/conftest.err; then 5590 if test -s out/conftest.err; then
5593 compiler_c_o=no 5591 compiler_c_o=no
5594 else 5592 else
7200 lt_cv_dlopen_self=cross 7198 lt_cv_dlopen_self=cross
7201else 7199else
7202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7203 lt_status=$lt_dlunknown 7201 lt_status=$lt_dlunknown
7204 cat > conftest.$ac_ext <<EOF 7202 cat > conftest.$ac_ext <<EOF
7205#line 7205 "configure" 7203#line 7203 "configure"
7206#include "confdefs.h" 7204#include "confdefs.h"
7207 7205
7208#if HAVE_DLFCN_H 7206#if HAVE_DLFCN_H
7209#include <dlfcn.h> 7207#include <dlfcn.h>
7210#endif 7208#endif
7298 lt_cv_dlopen_self_static=cross 7296 lt_cv_dlopen_self_static=cross
7299else 7297else
7300 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 7298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7301 lt_status=$lt_dlunknown 7299 lt_status=$lt_dlunknown
7302 cat > conftest.$ac_ext <<EOF 7300 cat > conftest.$ac_ext <<EOF
7303#line 7303 "configure" 7301#line 7301 "configure"
7304#include "confdefs.h" 7302#include "confdefs.h"
7305 7303
7306#if HAVE_DLFCN_H 7304#if HAVE_DLFCN_H
7307#include <dlfcn.h> 7305#include <dlfcn.h>
7308#endif 7306#endif
8031MALLOC_TYPE=S 8029MALLOC_TYPE=S
8032support_addstrings=no 8030support_addstrings=no
8033support_frills=no 8031support_frills=no
8034support_linespace=no 8032support_linespace=no
8035support_inheritpixmap=no 8033support_inheritpixmap=no
8034support_tinting=no
8036support_keepscrolling=no 8035support_keepscrolling=no
8037support_selectionscrolling=no 8036support_selectionscrolling=no
8038support_menubar=no 8037support_menubar=no
8039support_mousewheel=no 8038support_mousewheel=no
8040support_mouseslipwheel=no 8039support_mouseslipwheel=no
8072 if test x$enableval = xyes; then 8071 if test x$enableval = xyes; then
8073 support_24bit=yes 8072 support_24bit=yes
8074 support_frills=yes 8073 support_frills=yes
8075 support_linespace=yes 8074 support_linespace=yes
8076 support_inheritpixmap=yes 8075 support_inheritpixmap=yes
8076 support_tinting=yes
8077 support_keepscrolling=yes 8077 support_keepscrolling=yes
8078 support_selectionscrolling=yes 8078 support_selectionscrolling=yes
8079 support_lastlog=yes 8079 support_lastlog=yes
8080 support_menubar=yes 8080 support_menubar=yes
8081 support_mousewheel=yes 8081 support_mousewheel=yes
8160 if test x$enableval = xyes -o x$enableval = xno; then 8160 if test x$enableval = xyes -o x$enableval = xno; then
8161 support_inheritpixmap=$enableval 8161 support_inheritpixmap=$enableval
8162 fi 8162 fi
8163fi; 8163fi;
8164 8164
8165# Check whether --enable-tinting or --disable-tinting was given.
8166if test "${enable_tinting+set}" = set; then
8167 enableval="$enable_tinting"
8168 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_tinting=$enableval
8170 fi
8171fi;
8172
8165# Check whether --enable-menubar or --disable-menubar was given. 8173# Check whether --enable-menubar or --disable-menubar was given.
8166if test "${enable_menubar+set}" = set; then 8174if test "${enable_menubar+set}" = set; then
8167 enableval="$enable_menubar" 8175 enableval="$enable_menubar"
8168 if test x$enableval = xyes -o x$enableval = xno; then 8176 if test x$enableval = xyes -o x$enableval = xno; then
8169 support_menubar=$enableval 8177 support_menubar=$enableval
8851fi 8859fi
8852 8860
8853 8861
8854 8862
8855 8863
8864
8865if test "x$ac_path_x_has_been_run" != xyes; then
8856echo "$as_me:$LINENO: checking for X" >&5 8866 echo "$as_me:$LINENO: checking for X" >&5
8857echo $ECHO_N "checking for X... $ECHO_C" >&6 8867echo $ECHO_N "checking for X... $ECHO_C" >&6
8858 8868
8869ac_path_x_has_been_run=yes
8859 8870
8860# Check whether --with-x or --without-x was given. 8871# Check whether --with-x or --without-x was given.
8861if test "${with_x+set}" = set; then 8872if test "${with_x+set}" = set; then
8862 withval="$with_x" 8873 withval="$with_x"
8863 8874
8946 8957
8947/usr/openwin/include 8958/usr/openwin/include
8948/usr/openwin/share/include' 8959/usr/openwin/share/include'
8949 8960
8950if test "$ac_x_includes" = no; then 8961if test "$ac_x_includes" = no; then
8951 # Guess where to find include files, by looking for Intrinsic.h. 8962 # Guess where to find include files, by looking for a specified header file.
8952 # First, try using that file with no special directory specified. 8963 # First, try using that file with no special directory specified.
8953 cat >conftest.$ac_ext <<_ACEOF 8964 cat >conftest.$ac_ext <<_ACEOF
8954/* confdefs.h. */ 8965/* confdefs.h. */
8955_ACEOF 8966_ACEOF
8956cat confdefs.h >>conftest.$ac_ext 8967cat confdefs.h >>conftest.$ac_ext
9080 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 9091 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9081 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 9092 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9082 # Update the cache value to reflect the command line values. 9093 # Update the cache value to reflect the command line values.
9083 ac_cv_have_x="have_x=yes \ 9094 ac_cv_have_x="have_x=yes \
9084 ac_x_includes=$x_includes ac_x_libraries=$x_libraries" 9095 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9096 # It might be that x_includes is empty (headers are found in the
9097 # standard search path. Then output the corresponding message
9098 ac_out_x_includes=$x_includes
9099 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
9085 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 9100 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
9086echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 9101echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
9087fi 9102fi
9088 9103
9104fi
9089if test "$no_x" = yes; then 9105if test "$no_x" = yes; then
9090 # Not all programs may use this symbol, but it does not hurt to define it. 9106 # Not all programs may use this symbol, but it does not hurt to define it.
9091 9107
9092cat >>confdefs.h <<\_ACEOF 9108cat >>confdefs.h <<\_ACEOF
9093#define X_DISPLAY_MISSING 1 9109#define X_DISPLAY_MISSING 1
16213if test $ac_cv_lib_xpg4_setlocale = yes; then 16229if test $ac_cv_lib_xpg4_setlocale = yes; then
16214 LIBS="$LIBS -lxpg4" 16230 LIBS="$LIBS -lxpg4"
16215fi 16231fi
16216 16232
16217 16233
16234if test x$support_tinting = xyes; then
16235
16236cat >>confdefs.h <<\_ACEOF
16237#define TINTING 1
16238_ACEOF
16239
16240fi
16218if test x$support_inheritpixmap = xyes; then 16241if test x$support_inheritpixmap = xyes; then
16219 16242
16220cat >>confdefs.h <<\_ACEOF 16243cat >>confdefs.h <<\_ACEOF
16221#define TRANSPARENT 1 16244#define TRANSPARENT 1
16222_ACEOF 16245_ACEOF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines