comparison libgomp/configure.ac @ 55:77e2b8dfacca gcc-4.4.5

update it from 4.4.3 to 4.5.0
author ryoma <e075725@ie.u-ryukyu.ac.jp>
date Fri, 12 Feb 2010 23:39:51 +0900
parents a06113de4d67
children b7f97abdc517
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
1 # Process this file with autoconf to produce a configure script, like so: 1 # Process this file with autoconf to produce a configure script, like so:
2 # aclocal -I ../config && autoconf && autoheader && automake 2 # aclocal -I ../config && autoconf && autoheader && automake
3 3
4 AC_PREREQ(2.59) 4 AC_PREREQ(2.64)
5 AC_INIT([GNU OpenMP Runtime Library], 1.0,,[libgomp]) 5 AC_INIT([GNU OpenMP Runtime Library], 1.0,,[libgomp])
6 AC_CONFIG_HEADER(config.h) 6 AC_CONFIG_HEADER(config.h)
7 7
8 # ------- 8 # -------
9 # Options 9 # Options
101 # As a side effect, we have to subst CFLAGS ourselves. 101 # As a side effect, we have to subst CFLAGS ourselves.
102 102
103 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) 103 m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS])
104 m4_define([_AC_ARG_VAR_PRECIOUS],[]) 104 m4_define([_AC_ARG_VAR_PRECIOUS],[])
105 AC_PROG_CC 105 AC_PROG_CC
106 m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) 106 m4_rename_force([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS])
107 107
108 AC_SUBST(CFLAGS) 108 AC_SUBST(CFLAGS)
109 109
110 # In order to override CFLAGS_FOR_TARGET, all of our special flags go 110 # In order to override CFLAGS_FOR_TARGET, all of our special flags go
111 # in XCFLAGS. But we need them in CFLAGS during configury. So put them 111 # in XCFLAGS. But we need them in CFLAGS during configury. So put them
140 AM_MAINTAINER_MODE 140 AM_MAINTAINER_MODE
141 141
142 # We need gfortran to compile parts of the library 142 # We need gfortran to compile parts of the library
143 # We can't use AC_PROG_FC because it expects a fully working gfortran. 143 # We can't use AC_PROG_FC because it expects a fully working gfortran.
144 #AC_PROG_FC(gfortran) 144 #AC_PROG_FC(gfortran)
145 FC="$GFORTRAN" 145 case `echo $GFORTRAN` in
146 -* | no* )
147 FC=no ;;
148 *)
149 FC="$GFORTRAN" ;;
150 esac
146 AC_PROG_FC(gfortran) 151 AC_PROG_FC(gfortran)
147 FCFLAGS="$FCFLAGS -Wall" 152 FCFLAGS="$FCFLAGS -Wall"
148 153
149 # For libtool versioning info, format is CURRENT:REVISION:AGE 154 # For libtool versioning info, format is CURRENT:REVISION:AGE
150 libtool_VERSION=1:0:0 155 libtool_VERSION=1:0:0