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

Comparing rxvt-unicode/configure (file contents):
Revision 1.116 by root, Sun Nov 11 04:08:00 2007 UTC vs.
Revision 1.119 by root, Sun Nov 18 02:19:20 2007 UTC

1920 1920
1921 1921
1922 1922
1923VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1923VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1924DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 1924DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1925
1925echo "" 1926echo ""
1926echo "configuring for rxvt $VERSION" 1927echo "configuring for rxvt $VERSION"
1927echo "" 1928echo ""
1928 1929
1929orig_CXXFLAGS="$CXXFLAGS" 1930orig_CXXFLAGS="$CXXFLAGS"
4891 fi 4892 fi
4892fi 4893fi
4893 4894
4894 4895
4895 4896
4897LIBEV_M4_AVOID_LIBRT=1
4896 4898
4897ac_ext=cpp 4899ac_ext=cpp
4898ac_cpp='$CXXCPP $CPPFLAGS' 4900ac_cpp='$CXXCPP $CPPFLAGS'
4899ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4901ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4900ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4902ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5365 5367
5366 5368
5367 5369
5368 5370
5369 5371
5372
5373
5374
5370for ac_header in sys/epoll.h sys/event.h sys/queue.h 5375for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h
5371do 5376do
5372as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5373if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5374 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5375echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5507done 5512done
5508 5513
5509 5514
5510 5515
5511 5516
5512for ac_func in epoll_ctl kqueue 5517
5518
5519
5520for ac_func in epoll_ctl kqueue port_create poll select
5513do 5521do
5514as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5515{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5523{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5516echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5517if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5525if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5686echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5694echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5687if test $ac_cv_func_clock_gettime = yes; then 5695if test $ac_cv_func_clock_gettime = yes; then
5688 : 5696 :
5689else 5697else
5690 5698
5699 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5691 5700
5692{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5701{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5693echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5702echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5694if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5703if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6 5704 echo $ECHO_N "(cached) $ECHO_C" >&6
5851_ACEOF 5860_ACEOF
5852 5861
5853fi 5862fi
5854done 5863done
5855 5864
5865 fi
5856 5866
5857fi 5867fi
5858 5868
5859 5869
5860 5870
12971echo "${ECHO_T}no" >&6; } 12981echo "${ECHO_T}no" >&6; }
12972fi 12982fi
12973 12983
12974 12984
12975 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then 12985 if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then
12976 LIBS="$LIBS `$PKG_CONFIG xft --libs`" 12986 X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS"
12977 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" 12987 CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`"
12978 else 12988 else
12979 # Extract the first word of "xft-config", so it can be a program name with args. 12989 # Extract the first word of "xft-config", so it can be a program name with args.
12980set dummy xft-config; ac_word=$2 12990set dummy xft-config; ac_word=$2
12981{ echo "$as_me:$LINENO: checking for $ac_word" >&5 12991{ echo "$as_me:$LINENO: checking for $ac_word" >&5
13016echo "${ECHO_T}no" >&6; } 13026echo "${ECHO_T}no" >&6; }
13017fi 13027fi
13018 13028
13019 13029
13020 if test $XFT_CONFIG != no; then 13030 if test $XFT_CONFIG != no; then
13021 LIBS="$LIBS `$XFT_CONFIG --libs`" 13031 X_LIBS="`$XFT_CONFIG --libs` $X_LIBS"
13022 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" 13032 CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`"
13023 fi 13033 fi
13024 fi 13034 fi
13025 13035
13036 save_LIBS="$LIBS"
13037 LIBS="$LIBS $X_LIBS"
13026 13038
13027for ac_header in X11/Xft/Xft.h 13039for ac_header in X11/Xft/Xft.h
13028do 13040do
13029as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13041as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13030if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13042if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13163 support_xft=no 13175 support_xft=no
13164fi 13176fi
13165 13177
13166done 13178done
13167 13179
13168
13169{ echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 13180 { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5
13170echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } 13181echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; }
13171if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then 13182if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then
13172 echo $ECHO_N "(cached) $ECHO_C" >&6 13183 echo $ECHO_N "(cached) $ECHO_C" >&6
13173else 13184else
13174 ac_check_lib_save_LIBS=$LIBS 13185 ac_check_lib_save_LIBS=$LIBS
13226LIBS=$ac_check_lib_save_LIBS 13237LIBS=$ac_check_lib_save_LIBS
13227fi 13238fi
13228{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 13239{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5
13229echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } 13240echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; }
13230if test $ac_cv_lib_Xft_XftDrawString32 = yes; then 13241if test $ac_cv_lib_Xft_XftDrawString32 = yes; then
13231 cat >>confdefs.h <<_ACEOF 13242 :
13232#define HAVE_LIBXFT 1
13233_ACEOF
13234
13235 LIBS="-lXft $LIBS"
13236
13237else 13243else
13238 support_xft=no 13244 support_xft=no
13239fi 13245fi
13240 13246
13247 LIBS="$save_LIBS"
13241 13248
13242 if test x$support_xft = xyes; then 13249 if test x$support_xft = xyes; then
13243 13250
13244cat >>confdefs.h <<\_ACEOF 13251cat >>confdefs.h <<\_ACEOF
13245#define XFT 1 13252#define XFT 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines