[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, cmake, updated. 9c4ae62976adec2eb00f3e7c

From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. 9c4ae62976adec2eb00f3e7c51f8dcfc986db390
Date: Fri, 08 Feb 2013 08:05:48 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, cmake has been updated
       via  9c4ae62976adec2eb00f3e7c51f8dcfc986db390 (commit)
      from  e88d7d831b34b84fd5d9f944305e5409e7e01d94 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 9c4ae62976adec2eb00f3e7c51f8dcfc986db390
Author: Juergen Kahrs <address@hidden>
Date:   Fri Feb 8 09:05:24 2013 +0100

    Cleaned up a bit more after a test on Ubuntu 12.04 LTS.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9f91900..217097f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,9 +125,8 @@ DefineHFileIfAvailable(wctype.h HAVE_WCTYPE_H)
 DefineTypeIfAvailable(intmax_t INTMAX_T)
 DefineTypeIfAvailable(uintmax_t UINTMAX_T)
-# These dont work, maybe CheckCSourceCompiles would be better.
-add_definitions(-D TIME_T_IN_SYS_TYPES_H)
-#DefineTypeIfAvailable("time_t" TIME_T_IN_SYS_TYPES_H)
+# Some of these dont work, maybe CheckCSourceCompiles would be better.
+DefineTypeIfAvailable("time_t" TIME_T_IN_SYS_TYPES_H)
 DefineTypeIfAvailable("wctype_t" WCTYPE_T)
 add_definitions(-D WINT_T)
 #DefineTypeIfAvailable("wint_t" WINT_T)
@@ -137,10 +136,8 @@ add_definitions(-D HAVE_STRUCT_STAT_ST_BLKSIZE)
 #DefineStructHasMemberIfAvailable("struct stat" st_blksize bits/stat.h 
 add_definitions(-D HAVE_ST_BLKSIZE)
 #DefineStructHasMemberIfAvailable("struct stat" st_blksize bits/stat.h 
-add_definitions(-D HAVE_TM_ZONE)
-#DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h HAVE_TM_ZONE)
-add_definitions(-D HAVE_STRUCT_TM_TM_ZONE)
-#DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h 
+DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h HAVE_TM_ZONE)
+DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h 
 DefineHFileIfAvailable(sys/time.h HAVE_SYS_TIME_H)
 DefineFunctionIfAvailable(alarm HAVE_ALARM)


Summary of changes:
 CMakeLists.txt |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]