comparison configure.ac @ 30373:b3377040edc1

Build fixes on OpenSolaris. Closes #11841. committer: Paul Aurich <paul@darkrain42.org>
author brian.lu@sun.com
date Sun, 16 May 2010 15:57:51 +0000
parents 4b3bad9ca939
children 2a19f7385ba5 44ec2e7c2488 95d2b6fc228a
comparison
equal deleted inserted replaced
30372:fb0245b8c177 30373:b3377040edc1
113 LIBTOOL="$LIBTOOL --silent" 113 LIBTOOL="$LIBTOOL --silent"
114 AC_PROG_INSTALL 114 AC_PROG_INSTALL
115 PKG_PROG_PKG_CONFIG 115 PKG_PROG_PKG_CONFIG
116 AC_FUNC_ALLOCA 116 AC_FUNC_ALLOCA
117 117
118 dnl Check for Sun compiler
119 AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
120
118 dnl Checks for header files. 121 dnl Checks for header files.
119 AC_HEADER_STDC 122 AC_HEADER_STDC
120 AC_HEADER_SYS_WAIT 123 AC_HEADER_SYS_WAIT
121 AC_CHECK_HEADERS(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h) 124 AC_CHECK_HEADERS(arpa/nameser_compat.h fcntl.h sys/time.h unistd.h locale.h signal.h stdint.h regex.h)
122 125
1334 ]) 1337 ])
1335 fi 1338 fi
1336 1339
1337 DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS" 1340 DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS"
1338 CFLAGS="-g $CFLAGS" 1341 CFLAGS="-g $CFLAGS"
1342 fi
1343
1344 if test "x$SUNCC" = "xyes"; then
1345 CFLAGS="-features=extensions"
1339 fi 1346 fi
1340 AC_SUBST(CFLAGS) 1347 AC_SUBST(CFLAGS)
1341 1348
1342 AC_PATH_PROG(pidginpath, pidgin) 1349 AC_PATH_PROG(pidginpath, pidgin)
1343 1350