Bug #788: configure script confused by gcc-3.2
От | pgsql-bugs@postgresql.org |
---|---|
Тема | Bug #788: configure script confused by gcc-3.2 |
Дата | |
Msg-id | 20020928155435.64DDB475F26@postgresql.org обсуждение исходный текст |
Ответы |
Re: Bug #788: configure script confused by gcc-3.2
Re: Bug #788: configure script confused by gcc-3.2 |
Список | pgsql-bugs |
Richard Lightman (richard@nezumi.plus.com) reports a bug with a severity of 3 The lower the number the more severe it is. Short Description configure script confused by gcc-3.2 Long Description The configure script tries to get gcc's version number into confdefs.h gcc-3.0.* outputs one line of text, but 3.2 outputs several lines. When confdef.h is included by configure's test programs, gcc-3.2 complains that multiline string litterals are not allowed. Configure assumes that this is a valid result for some test, for example it will assume openssl is not installed when it is. The example code is a hack that demonstates I have problems using autoconf, but despite that, "All 76 tests passed" with this patch. Sample Code diff -urN postgresql-7.1.3/configure postgresql-7.1.3-rcl/configure --- postgresql-7.1.3/configure Thu Aug 16 19:36:31 2001 +++ postgresql-7.1.3-rcl/configure Sat Sep 28 16:30:44 2002 @@ -1617,7 +1617,7 @@ # Create compiler version string if test x"$GCC" = x"yes" ; then - cc_string="GCC `${CC} --version`" + cc_string="GCC `${CC} --version | head -1`" else cc_string=$CC fi No file was uploaded with this report
В списке pgsql-bugs по дате отправления: