summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 11:27:12 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-05 11:27:12 -0800
commitfaf94b989a58ed95c4e6f3b49290494a1b5e6bd5 (patch)
treec1d81963d59392adec6fce31c51e860bb62cf185
parent3fef4e8530f1189d056db5ac4b6aa339d9ffa69b (diff)
downloadmtools-faf94b989a58ed95c4e6f3b49290494a1b5e6bd5.tar.gz
mtools-faf94b989a58ed95c4e6f3b49290494a1b5e6bd5.tar.bz2
mtools-faf94b989a58ed95c4e6f3b49290494a1b5e6bd5.zip
autoconf
-rw-r--r--configure.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 643ec2e..bde8068 100644
--- a/configure.in
+++ b/configure.in
@@ -110,10 +110,10 @@ dnl
dnl
AC_MSG_CHECKING(whether llseek declared in unistd.h)
AC_CACHE_VAL(mtools_cv_have_llseek_prototype,
- AC_TRY_COMPILE(
+ [AC_TRY_COMPILE(
[#include <unistd.h>], [extern int llseek(int);],
[mtools_cv_have_llseek_prototype=no],
- [mtools_cv_have_llseek_prototype=yes]))
+ [mtools_cv_have_llseek_prototype=yes])])
AC_MSG_RESULT($mtools_cv_have_llseek_prototype)
if test "$mtools_cv_have_llseek_prototype" = yes; then
AC_DEFINE([HAVE_LLSEEK_PROTOTYPE],1,[Define when you have an LLSEEK prototype])
@@ -121,13 +121,13 @@ fi
AC_MSG_CHECKING(whether lseek64 declared in unistd.h)
AC_CACHE_VAL(mtools_cv_have_lseek64_prototype,
- AC_TRY_COMPILE(
+ [AC_TRY_COMPILE(
[
#include "sysincludes.h"
#include <unistd.h>
], [extern int lseek64(int);],
[mtools_cv_have_lseek64_prototype=no],
- [mtools_cv_have_lseek64_prototype=yes]))
+ [mtools_cv_have_lseek64_prototype=yes])])
AC_MSG_RESULT($mtools_cv_have_lseek64_prototype)
if test "$mtools_cv_have_lseek64_prototype" = yes; then
AC_DEFINE([HAVE_LSEEK64_PROTOTYPE],1,[Define when you have an LSEEK64 prototype])
@@ -163,12 +163,12 @@ dnl Check for 64-bit off_t
dnl
AC_DEFUN(SFS_CHECK_OFF_T_64,
[AC_CACHE_CHECK(for 64-bit off_t, sfs_cv_off_t_64,
-AC_TRY_COMPILE([
+[AC_TRY_COMPILE([
#include <unistd.h>
#include <sys/types.h>
],[
switch (0) case 0: case (sizeof (off_t) <= 4):;
-], sfs_cv_off_t_64=no, sfs_cv_off_t_64=yes))
+], sfs_cv_off_t_64=no, sfs_cv_off_t_64=yes)])
if test $sfs_cv_off_t_64 = yes; then
AC_DEFINE([HAVE_OFF_T_64],1,[Define when the system has a 64 bit off_t type])
fi])