newbie - autoscan for f90

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux