[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
newbie - autoscan for f90
From: |
Eve-Marie Devaliere |
Subject: |
newbie - autoscan for f90 |
Date: |
Wed, 12 Jan 2011 17:11:29 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
Hello autoconf community,
I am a newbie to autoconf so I am sorry in advance for my basics
questions....
I am trying to swicth my existing config to an autoconf config. I tried
to run autoscan in my src directory but it is not finding any of my f90
files... From what the verbose mode tells it is not really looking for
it either.... Can autoscan deal with f90 programs?
Here is the output I get:
autoscan ../libsrc/ --verbose
autoscan: srcdir = ../libsrc/
cfiles:
makefiles: makefile
shfiles:
function:
header:
identifier:
program:
makevar:
librarie:
autoscan: running: /usr/bin/autom4te --language=autoconf --verbose
--include=/us
autom4te: configure.ac: no such file or directory
autoscan: /usr/bin/autom4te failed with exit status: 1
I then tried to go back to square 1 and found a mini tutorial about
autoconf.. I put the following in my configure.ac
AC_INIT(myconfig, version-0.1)
AC_MSG_NOTICE([Hello, world.])
AC_INIT(myconfig, version-0.1)
echo " Testing for a C compiler"
AC_PROG_CC
echo " Testing for a C++ compiler"
AC_PROG_CXX
echo " Testing for a FORTRAN compiler"
AC_PROG_F77
When I run autoconf configure.ac > configure
I get:
NONE:0: error: m4_init: unbalanced m4_divert_push:
configure.ac:1: m4_divert_push: BODY
configure.ac:1: m4_divert_push: KILL
NONE:0: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
Did I miss something?
Thanks,
Have a great evening!
Cheers,
Eve-Marie
--
Eve-Marie Devaliere, MS
Senior Science System/Software Engineer
Joint Center for Satellite Data Assimilation (JCSDA)
Phone: (301) 763-8172
Fax: (301) 763-8149
Address: World Weather Building
Room #808
5200 Auth Rd
Camp Springs, MD 20746
The contents of this message are mine personally and do not necessarily reflect
any position of NOAA
- newbie - autoscan for f90,
Eve-Marie Devaliere <=