Add support to getopt for Emacs, which doesn't use LIBOBJS in the
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Jul 2005 21:55:31 +0000 (21:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Jul 2005 21:55:31 +0000 (21:55 +0000)
commitf521b73c60ac0caf5464cb773b039f73a0be4a09
treebf16770743aa5a81f9173494893649fa2f5846cf
parent304a51d0977a238022fd8d9510cd5dd4e56454b1
Add support to getopt for Emacs, which doesn't use LIBOBJS in the
normal way.
* getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
(gl_GETOPT_SUBSTITUTE): Use it.  Invoke gl_PREREQ_GETOPT.
(gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
(gl_GETOPT): Use the new macros.  Most of the implementation
is moved to the new macros.  This is for programs like Emacs
that don't want all the functionality of gl_GETOPT.
m4/ChangeLog
m4/getopt.m4