After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612329 - automake --force unrecognized if POSIXLY_CORRECT set
automake --force unrecognized if POSIXLY_CORRECT set
Status: RESOLVED FIXED
Product: gnome-common
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: David King
Gnome Common Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-03-09 18:49 UTC by Emilio Pozuelo Monfort
Modified: 2012-08-01 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to drop --force with automake (948 bytes, patch)
2012-07-30 16:15 UTC, David King
committed Details | Review

Description Emilio Pozuelo Monfort 2010-03-09 18:49:22 UTC
[ From http://bugs.debian.org/572840 ]

emilio@saturno:~$ automake --force
automake: `configure.ac' or `configure.in' is required
emilio@saturno:~$ POSIXLY_CORRECT=1 automake --force
automake: unrecognized option `--force'.
automake: Try `/usr/bin/automake --help' for more information.
emilio@saturno:~$ 

Since --no-force is not the default (so --force would be if it existed) as can be seen in the automake info manual or in automake's source code, the --force option could be removed, or alternatively POSIXLY_CORRECT unset. I like more the first option.
Comment 1 Christian Persch 2010-05-30 21:06:07 UTC
I don't see any indication in the automake manual that --force would be unrecognised when POSIXLY_CORRECT is set? Is that by design, or a bug ?
Comment 2 Emilio Pozuelo Monfort 2010-05-30 22:21:47 UTC
It's probably a bug in automake for letting Getopt::Long accept --force sometimes, but not always.

Anyway I've looked in the automake info manual and I see no mention of --force for automake, only --no-force (--force is documented for aclocal but not automake) and automake --help doesn't list it either. Why not just remove the option since --force is the default?
Comment 3 David King 2012-07-30 16:15:28 UTC
Created attachment 219910 [details] [review]
patch to drop --force with automake

This patch removes the use of --force with automake in gnome-autogen.sh.
Comment 4 David King 2012-08-01 21:51:42 UTC
Comment on attachment 219910 [details] [review]
patch to drop --force with automake

Pushed to master as commit 0efa19df00955bfec29995736e262412fd32de86.