gmime r1516 - trunk
- From: fejj svn gnome org
- To: svn-commits-list gnome org
- Subject: gmime r1516 - trunk
- Date: Sat, 21 Mar 2009 00:05:22 +0000 (UTC)
Author: fejj
Date: Sat Mar 21 00:05:22 2009
New Revision: 1516
URL: http://svn.gnome.org/viewvc/gmime?rev=1516&view=rev
Log:
fixed in a slightly better way
Modified:
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Mar 21 00:05:22 2009
@@ -322,7 +322,7 @@
enable_largefile="yes")
if test "x$enable_largefile" != "xno"; then
AC_SYS_LARGEFILE
- AC_CACHE_CHECK([for _LARGEFILE64_SOURCE value needed for large files], _cv_largefile64_source,
+ AC_CACHE_CHECK([for _LARGEFILE64_SOURCE value needed for large files], ac_cv_largefile64_source,
[
AC_TRY_COMPILE([
#include <sys/types.h>
@@ -331,7 +331,7 @@
],[
int fd = open ("__o_largefile", O_CREAT | O_RDWR | O_LARGEFILE, 0644);
],[
- _cv_largefile64_source="no"
+ ac_cv_largefile64_source="no"
],[
AC_TRY_COMPILE([
#define _LARGEFILE64_SOURCE
@@ -341,20 +341,19 @@
],[
int fd = open ("__o_largefile", O_CREAT | O_RDWR | O_LARGEFILE, 0644);
],[
- _cv_largefile64_source="yes"
+ ac_cv_largefile64_source="yes"
],[
- _cv_largefile64_source="unknown"
+ ac_cv_largefile64_source="unknown"
])
])
])
- largefile64_source = "$_cv_largefile64_source"
enable_largefile="no"
- if test "x$largefile64_source" = "xyes"; then
+ if test "x$ac_cv_largefile64_source" = "xyes"; then
GMIME_CFLAGS="-D_LARGEFILE64_SOURCE"
enable_largefile="yes"
- elif test "x$largefile64_source" = "xunknown"; then
+ elif test "x$ac_cv_largefile64_source" = "xunknown"; then
AC_DEFINE(O_LARGEFILE, 0, [Define to 0 if your system does not have the O_LARGEFILE flag])
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]