Mercurial > hg > CbC > CbC_gcc
diff libgomp/configure.ac @ 57:326d9e06c2e3
modify c-parser.c
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 15 Feb 2010 00:54:17 +0900 |
parents | 77e2b8dfacca |
children | b7f97abdc517 |
line wrap: on
line diff
--- a/libgomp/configure.ac Sun Feb 07 18:30:54 2010 +0900 +++ b/libgomp/configure.ac Mon Feb 15 00:54:17 2010 +0900 @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script, like so: # aclocal -I ../config && autoconf && autoheader && automake -AC_PREREQ(2.59) +AC_PREREQ(2.64) AC_INIT([GNU OpenMP Runtime Library], 1.0,,[libgomp]) AC_CONFIG_HEADER(config.h) @@ -103,7 +103,7 @@ m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) m4_define([_AC_ARG_VAR_PRECIOUS],[]) AC_PROG_CC -m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) +m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) AC_SUBST(CFLAGS) @@ -142,7 +142,12 @@ # We need gfortran to compile parts of the library # We can't use AC_PROG_FC because it expects a fully working gfortran. #AC_PROG_FC(gfortran) -FC="$GFORTRAN" +case `echo $GFORTRAN` in + -* | no* ) + FC=no ;; + *) + FC="$GFORTRAN" ;; +esac AC_PROG_FC(gfortran) FCFLAGS="$FCFLAGS -Wall"