… | |
… | |
74 | case $host in |
74 | case $host in |
75 | *-*-solaris* ) |
75 | *-*-solaris* ) |
76 | 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) |
77 | ;; |
77 | ;; |
78 | esac |
78 | esac |
79 | |
|
|
80 | dnl if test x$GXX = xyes; then |
|
|
81 | dnl CXXFLAGS="$CXXFLAGS" dnl I once had -fno-exceptions, but I am using them now... |
|
|
82 | dnl fi |
|
|
83 | |
79 | |
84 | dnl# FreeBSD needs to link libxpg4 |
80 | dnl# FreeBSD needs to link libxpg4 |
85 | AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) |
81 | AC_CHECK_FUNC(setlocale, [], [AC_CHECK_LIB(xpg4, setlocale, [LIBS="$LIBS -lxpg4"])]) |
86 | |
82 | |
87 | dnl# solaris needs to link libnsl and socket |
83 | dnl# solaris needs to link libnsl and socket |