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.88 by ayin, Mon Dec 10 23:27:49 2007 UTC vs.
Revision 1.91 by ayin, Mon Dec 10 23:49:38 2007 UTC

15DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 15DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
16dnl LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` 16dnl LIBVERSION=`sed -n -e 's/^.*[ \t]LIBVERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
17changequote([, ])dnl 17changequote([, ])dnl
18AC_SUBST(VERSION)dnl 18AC_SUBST(VERSION)dnl
19AC_SUBST(DATE)dnl 19AC_SUBST(DATE)dnl
20AC_SUBST(LSMDATE)dnl
21AC_SUBST(LIBVERSION)dnl 20dnl AC_SUBST(LIBVERSION)dnl
22 21
23echo "" 22echo ""
24echo "configuring for rxvt $VERSION" 23echo "configuring for rxvt $VERSION"
25echo "" 24echo ""
26 25
31AC_PROG_CXX 30AC_PROG_CXX
32AC_PROG_CPP 31AC_PROG_CPP
33AC_PROG_INSTALL 32AC_PROG_INSTALL
34 33
35AC_AIX 34AC_AIX
35AC_GNU_SOURCE
36AC_ISC_POSIX 36AC_ISC_POSIX
37AC_LANG(C++) 37AC_LANG(C++)
38 38
39dnl check wether we can link with gcc -lsupc++ 39dnl check wether we can link with gcc -lsupc++
40if test x$GCC = xyes && test x$GXX = xyes; then 40if test x$GCC = xyes && test x$GXX = xyes; then
69 CXXFLAGS="-O" 69 CXXFLAGS="-O"
70 fi 70 fi
71 CFLAGS="$CXXFLAGS" 71 CFLAGS="$CXXFLAGS"
72fi 72fi
73 73
74AC_DEFINE(_GNU_SOURCE, 1, Use all glibc features.)
75
76case $host in 74case $host in
77 *-*-solaris* ) 75 *-*-solaris* )
78 AC_DEFINE(_XOPEN_SOURCE, 500, Needed to get declarations for msg_control and msg_controllen on Solaris) 76 AC_DEFINE(_XOPEN_SOURCE, 500, Needed to get declarations for msg_control and msg_controllen on Solaris)
79 ;; 77 ;;
80esac 78esac
81
82dnl if test x$GXX = xyes; then
83dnl CXXFLAGS="$CXXFLAGS" dnl I once had -fno-exceptions, but I am using them now...
84dnl fi
85 79
86dnl# FreeBSD needs to link libxpg4 80dnl# FreeBSD needs to link libxpg4
87AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) 81AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])])
88 82
89dnl# solaris needs to link libnsl and socket 83dnl# solaris needs to link libnsl and socket
121 115
122dnl# -------------------------------------------------------------------------- 116dnl# --------------------------------------------------------------------------
123dnl# CHECKING COMMAND LINE OPTIONS 117dnl# CHECKING COMMAND LINE OPTIONS
124dnl# -------------------------------------------------------------------------- 118dnl# --------------------------------------------------------------------------
125 119
126if test "x$enable_shared" = xyes; then 120dnl if test "x$enable_shared" = xyes; then
127 AC_DEFINE(LIBRXVT, 1, Build shared library version - specify via configure only) 121dnl AC_DEFINE(LIBRXVT, 1, Build shared library version - specify via configure only)
128 INSTALL_LIBRXVT=yes 122dnl INSTALL_LIBRXVT=yes
129fi 123dnl fi
130AC_SUBST(INSTALL_LIBRXVT) 124dnl AC_SUBST(INSTALL_LIBRXVT)
131 125
132AC_ARG_ENABLE(everything, 126AC_ARG_ENABLE(everything,
133 [ --enable-everything enable standard non-multichoice features 127 [ --enable-everything enable standard non-multichoice features
134 NOTE: this option is order dependent], 128 NOTE: this option is order dependent],
135 [ 129 [

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines