~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

  • Committer: Monty Taylor
  • Date: 2010-08-21 04:07:18 UTC
  • mfrom: (1724.1.1 add-visibility-back)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mordred@inaugust.com-20100821040718-3nsbz9wvi6noe1a5
Enable visibility settings for libdrizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
 
205
205
  PANDORA_HAVE_GCC_ATOMICS
206
206
 
 
207
  save_CFLAGS="${CFLAGS}"
 
208
  CFLAGS="${CFLAGS} -Werror"
 
209
  PANDORA_CHECK_VISIBILITY
 
210
  CFLAGS="${save_CFLAGS}"
207
211
  m4_if(PCT_USE_VISIBILITY,[yes],[
208
 
    dnl We need to inject error into the cflags to test if visibility works or not
209
 
    save_CFLAGS="${CFLAGS}"
210
 
    CFLAGS="${CFLAGS} -Werror"
211
 
    PANDORA_VISIBILITY
212
 
    CFLAGS="${save_CFLAGS}"
 
212
    PANDORA_ENABLE_VISIBILITY
213
213
  ])
214
214
 
215
215
  PANDORA_HEADER_ASSERT