Thread: Patch to suppress the warnings when running autoreconf

Started: 2008-10-03 04:30:56
Last activity: 2008-10-03 04:30:56
Topics: SAC Developers
Hi all,

Running autoreconf is basically equivalent to running the script
./bootstrap in the CVS repository, and is sometimes a little faster.
Attached is a patch to suppress the following warnings when running
autoreconf. Plus, with this patch, we don't need to add the
'--foreign' parameter to automake anymore.

Just a thought: maybe we'd better pay attention to the first warning below?

$ autoreconf
src/Makefile.am:14: `CFLAGS' is a user variable, you should not override it;
src/Makefile.am:14: use `AM_CFLAGS' instead.
utils/Makefile.am:5: `CFLAGS' is a user variable, you should not override it;
utils/Makefile.am:5: use `AM_CFLAGS' instead.
Makefile.am: required file `./INSTALL' not found
Makefile.am: `automake --add-missing' can install `INSTALL'
Makefile.am: required file `./NEWS' not found
Makefile.am: required file `./AUTHORS' not found
Makefile.am: required file `./ChangeLog' not found
Makefile.am: required file `./COPYING' not found
Makefile.am: `automake --add-missing' can install `COPYING'
autoreconf: automake failed with exit status: 1


Best regards,

--
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046

Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/

Attachments
17:17:47 v.b3198453