~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-03-30 07:05:18 UTC
  • mto: (971.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 970.
  • Revision ID: mordred@inaugust.com-20090330070518-mmxr1gl1hbeowe0a
Build fix making 64-bit atomic<> work on 32-bit systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
  then
262
262
    IS_64="-m64"
263
263
  fi
264
 
  LDFLAGS="${LDFLAGS} -L/usr/local/lib/${isainfo_b} -L/usr/local/lib -L/opt/csw/lib/${isainfo_b} -L/opt/csw/lib -L/usr/lib/${isainfo_b}"
265
 
  CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/csw/include"
 
264
  if test "x$use_additional" != "xyes"
 
265
  then
 
266
    LDFLAGS="${LDFLAGS} -L/usr/local/lib/${isainfo_b} -L/usr/local/lib -L/opt/csw/lib/${isainfo_b} -L/opt/csw/lib"
 
267
    CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/csw/include"
 
268
  fi
 
269
  LDFLAGS="${LDFLAGS} -L/usr/lib/${isainfo_b}"
266
270
 
267
271
  CXXFLAGS="-xlang=c99 -g -mt -compat=5 -library=stlport4 -template=no%extdef ${IS_64} ${MEMALIGN_FLAGS} ${CXXFLAGS}"
268
272
  CFLAGS="-g -mt -xc99=all ${IS_64} ${MEMALIGN_FLAGS} ${CFLAGS}"
862
866
then
863
867
  AC_MSG_ERROR("Drizzle needs a off_t type.")
864
868
fi
 
869
AC_CHECK_SIZEOF(size_t)
 
870
AC_DEFINE_UNQUOTED([SIZEOF_SIZE_T],[$ac_cv_sizeof_size_t],[Size of size_t as computed by sizeof()])
 
871
AC_CHECK_SIZEOF(long long)
 
872
AC_DEFINE_UNQUOTED(SIZEOF_LONG_LONG,[$ac_cv_sizeof_long_long],[Size of long long as computed by sizeof()])
865
873
 
866
874
dnl
867
875
dnl check if time_t is unsigned