~mordred/gearmand/cancel-job

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

  • Committer: Brian Aker
  • Date: 2012-05-04 03:46:04 UTC
  • Revision ID: brian@tangent.org-20120504034604-5t22ae4v2o45zjkq
Update for libtest, documentation, and fix for root bzr dir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
  AC_STRUCT_TM
127
127
  AC_TYPE_SIZE_T
128
128
  AC_SYS_LARGEFILE
 
129
  PANDORA_CLOCK_GETTIME
129
130
 
130
131
  AC_CHECK_HEADERS(sys/socket.h)
131
132
 
178
179
  AC_LIB_PREFIX
179
180
  PANDORA_HAVE_BETTER_MALLOC
180
181
 
181
 
  AC_CHECK_PROGS([DOXYGEN], [doxygen])
182
182
  AC_CHECK_PROGS([PERL], [perl])
183
183
  AC_CHECK_PROGS([DPKG_GENSYMBOLS], [dpkg-gensymbols], [:])
184
184
  AC_CHECK_PROGS([LCOV], [lcov], [echo lcov not found])
199
199
  AM_CONDITIONAL(HAVE_SPHINX,[test "x${SPHINXBUILD}" != "x:"])
200
200
  AM_CONDITIONAL(HAVE_RECENT_SPHINX,[test "x${ac_cv_recent_sphinx}" = "xyes"])
201
201
 
202
 
  AS_IF([test "x${gl_LIBOBJS}" != "x"],[
203
 
    AS_IF([test "$GCC" = "yes"],[
204
 
      AM_CPPFLAGS="-isystem \${top_srcdir}/gnulib -isystem \${top_builddir}/gnulib ${AM_CPPFLAGS}"
205
 
    ],[
206
 
    AM_CPPFLAGS="-I\${top_srcdir}/gnulib -I\${top_builddir}/gnulib ${AM_CPPFLAGS}"
207
 
    ])
208
 
  ])
209
202
  m4_if(m4_substr(m4_esyscmd(test -d src && echo 0),0,1),0,[
210
203
    AM_CPPFLAGS="-I\$(top_srcdir)/src -I\$(top_builddir)/src ${AM_CPPFLAGS}"
211
204
  ],[
214
207
 
215
208
  PANDORA_USE_PIPE
216
209
 
217
 
  AH_TOP([
218
 
#pragma once
219
 
 
220
 
/* _SYS_FEATURE_TESTS_H is Solaris, _FEATURES_H is GCC */
221
 
#if defined( _SYS_FEATURE_TESTS_H) || defined(_FEATURES_H)
222
 
#error "You should include config.h as your first include file"
223
 
#endif
224
 
 
225
 
])
226
 
  mkdir -p config
227
 
  cat > config/top.h.stamp <<EOF_CONFIG_TOP
228
 
 
229
 
#if defined(i386) && !defined(__i386__)
230
 
#define __i386__
231
 
#endif
232
 
 
233
 
#if defined(_FILE_OFFSET_BITS)
234
 
# undef _FILE_OFFSET_BITS
235
 
#endif
236
 
EOF_CONFIG_TOP
237
 
 
238
 
  diff config/top.h.stamp config/top.h >/dev/null 2>&1 || mv config/top.h.stamp config/top.h
239
 
  rm -f config/top.h.stamp
240
 
 
241
210
  AM_CFLAGS="-std=c99 ${AM_CFLAGS} ${CC_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}"
242
211
  AM_CXXFLAGS="${AM_CXXFLAGS} ${CXX_WARNINGS} ${CC_PROFILING} ${CC_COVERAGE}"
243
212