From e6c2a1cec1ddfe2bd9c4ffed8f469f52eab5930a Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Fri, 18 Feb 2000 09:57:19 +0000 Subject: [PATCH] Changed GCC version test to also accept major versions > 2. Thanks to Ben 2000-02-18 Sebastian Wilhelmi * configure.in: Changed GCC version test to also accept major versions > 2. Thanks to Ben Gertzfield for pointing this out. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-0 | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ configure.in | 2 +- 9 files changed, 49 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 378c3646..903b5b1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 378c3646..903b5b1a 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2000-02-18 Sebastian Wilhelmi + + * configure.in: Changed GCC version test to also accept major + versions > 2. Thanks to Ben Gertzfield for + pointing this out. + Thu Feb 17 12:53:44 2000 Tim Janik * gstring.c: changed g_str_hash() to a 31 bit version based on diff --git a/configure.in b/configure.in index 0a43716c..70ff7aa7 100644 --- a/configure.in +++ b/configure.in @@ -1350,7 +1350,7 @@ $ac_cv_sizeof_long_long) guint64_format='"'$glib_cv_long_long_format'u"' glib_extension='G_GNUC_EXTENSION ' glib_warning_guard=" -#if defined (__GNUC__) && __GNUC__ >= 2 && __GNUC_MINOR__ >= 8 +#if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) # define G_GNUC_EXTENSION __extension__ #else # define G_GNUC_EXTENSION -- 2.34.1