~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2008-10-03 21:06:22 UTC
  • Revision ID: monty@inaugust.com-20081003210622-lpntydhe0wvuefyf
Rewored Sun C99 stuff in autoconf. (Trond... will this work?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
dnl  To add more to this mess, Sun Studio C compiler defines _STDC_C99 while
305
305
dnl  C++ compiler does not!
306
306
 
 
307
dnl TODO: Can _ISOC99_SOURCE be defined on all platforms and remove the 
 
308
dnl       Need for all of this? 
307
309
if test "${build_vendor}" = "sun"
308
310
then
309
 
  AH_VERBATIM([sun_compiler],[
310
 
#ifdef __cplusplus
311
 
#define __C99FEATURES__
312
 
#else
313
 
#define _XOPEN_SOURCE 600
314
 
#endif
315
 
])
 
311
  dnl Do we need both of these? 
 
312
  dnl This is for C++
 
313
  AC_DEFINE([__C99FEATURES__],[1],[C99 Features])
 
314
  dnl This is for C
 
315
  AC_DEFINE([_XOPEN_SOURCE],[600],[X/Open Level])
316
316
fi
317
317
 
318
318
# We use libtool