~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Brian Aker
  • Date: 2008-07-14 22:18:37 UTC
  • mfrom: (77.1.96 codestyle)
  • Revision ID: brian@tangent.org-20080714221837-oceoshx7fjkla9u3
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
349
349
AC_SUBST(PCRE_LIBS)
350
350
AC_SUBST(PCRE_CFLAGS)
351
351
 
352
 
 
353
 
# Avoid bug in fcntl on some versions of linux
354
 
AC_MSG_CHECKING([if we should use 'skip-external-locking' as default for $target_os])
355
 
# Any variation of Linux
356
 
if expr "$target_os" : "[[Ll]]inux.*" > /dev/null
357
 
then
358
 
  MYSQLD_DEFAULT_SWITCHES="--skip-external-locking"
359
 
  TARGET_LINUX="true"
360
 
  AC_MSG_RESULT([yes])
361
 
  AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
362
 
else
363
 
  MYSQLD_DEFAULT_SWITCHES=""
364
 
  TARGET_LINUX="false"
365
 
  AC_MSG_RESULT([no])
366
 
fi
367
 
AC_SUBST(MYSQLD_DEFAULT_SWITCHES)
368
 
AC_SUBST(TARGET_LINUX)
369
 
 
370
352
dnl Find paths to some shell programs
371
353
AC_PATH_PROG(LN, ln, ln)
372
354
# This must be able to take a -f flag like normal unix ln.
796
778
fi
797
779
AC_SUBST(COMPILATION_COMMENT)
798
780
 
 
781
if expr "$target_os" : "[[Ll]]inux.*" > /dev/null
 
782
then
 
783
  TARGET_LINUX="true"
 
784
  AC_DEFINE([TARGET_OS_LINUX], [1], [Whether we build for Linux])
 
785
else
 
786
  TARGET_LINUX="false"
 
787
fi
 
788
 
799
789
AC_MSG_CHECKING("need of special linking flags")
800
790
if test "$TARGET_LINUX" = "true" -a "$ac_cv_c_compiler_gnu" = "yes" -a "$all_is_static" != "yes"
801
791
then