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

30AC_PROG_CXX 30AC_PROG_CXX
31AC_PROG_CPP 31AC_PROG_CPP
32AC_PROG_INSTALL 32AC_PROG_INSTALL
33 33
34AC_AIX 34AC_AIX
35AC_GNU_SOURCE
35AC_ISC_POSIX 36AC_ISC_POSIX
36AC_LANG(C++) 37AC_LANG(C++)
37 38
38dnl check wether we can link with gcc -lsupc++ 39dnl check wether we can link with gcc -lsupc++
39if test x$GCC = xyes && test x$GXX = xyes; then 40if test x$GCC = xyes && test x$GXX = xyes; then
68 CXXFLAGS="-O" 69 CXXFLAGS="-O"
69 fi 70 fi
70 CFLAGS="$CXXFLAGS" 71 CFLAGS="$CXXFLAGS"
71fi 72fi
72 73
73AC_DEFINE(_GNU_SOURCE, 1, Use all glibc features.)
74
75case $host in 74case $host in
76 *-*-solaris* ) 75 *-*-solaris* )
77 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)
78 ;; 77 ;;
79esac 78esac
80
81dnl if test x$GXX = xyes; then
82dnl CXXFLAGS="$CXXFLAGS" dnl I once had -fno-exceptions, but I am using them now...
83dnl fi
84 79
85dnl# FreeBSD needs to link libxpg4 80dnl# FreeBSD needs to link libxpg4
86AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) 81AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])])
87 82
88dnl# solaris needs to link libnsl and socket 83dnl# solaris needs to link libnsl and socket

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines