Commit 1c9a1c7f authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r7089] Cleanup the ./configure --help strings.

parent 15beb21c
......@@ -175,10 +175,9 @@ dnl set here are redundant; the LOAD_CACHE call relies on the way autoconf
dnl initially processes ARG_ENABLE commands.
AC_DEFUN([PAC_ARG_CACHING],[
AC_ARG_ENABLE(cache,
[--enable-cache - Turn on configure caching],
enable_cache="$enableval",enable_cache="notgiven")
AC_HELP_STRING([--enable-cache], [Turn on configure caching]),,
[enable_cache="notgiven"])
])
dnl
dnl Clean the cache of extraneous quotes that AC_CACHE_SAVE may add
dnl
......@@ -329,8 +328,9 @@ dnl cause problems.
dnl
AC_DEFUN([PAC_CREATE_BASE_CACHE],[
AC_ARG_ENABLE(base-cache,
[--enable-base-cache - Enable the use of a simple cache for the subsidieary
configure scripts.],,enable_base_cache=default)
AC_HELP_STRING([--enable-base-cache],
[Enable the use of a simple cache for the subsidiary
configure scripts]),,enable_base_cache=default)
# The default case is controlled by the environment variable CONF_USE_CACHEFILE
if test "$enable_base_cache" = "default" ; then
if test "$CONF_USE_CACHEFILE" = yes ; then
......
......@@ -591,7 +591,7 @@ dnl
dnl D*/
AC_DEFUN([PAC_ARG_STRICT],[
AC_ARG_ENABLE(strict,
[--enable-strict - Turn on strict compilation testing])
AC_HELP_STRING([--enable-strict], [Turn on strict compilation testing]))
PAC_CC_STRICT($enable_strict)
CFLAGS="$CFLAGS $pac_cc_strict_flags"
export CFLAGS
......
......@@ -55,22 +55,29 @@ dnl will probably be defined, including symbols to specify how shared library
dnl search paths are specified and how shared library names are set.
dnl D*/
AC_DEFUN([PAC_ARG_SHAREDLIBS],[
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared], [Enable shared library builds]),,
enable_shared=no)
AC_ARG_ENABLE(rpath,
[--enable-rpath - Determine whether the rpath is set when programs are compiled
and linked when shared libraries are built. The default is yes; use
--disable-rpath to turn this feature off; in that case, shared libraries
will be found according to the rules for your system (e.g., in LD_LIBRARY_PATH],,enable_rpath=yes)
AC_HELP_STRING([--enable-rpath],
[Determine whether the rpath is set when programs are
compiled and linked when shared libraries are built.
The default is yes; use --disable-rpath to turn this
feature off; in that case, shared libraries will be
found according to the rules for your system (e.g., in
LD_LIBRARY_PATH)]),,enable_rpath=yes)
AC_ARG_ENABLE(sharedlibs,
[--enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported],,enable_sharedlibs=default)
[ --enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported
],,enable_sharedlibs=default)
if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
......
This diff is collapsed.
......@@ -175,10 +175,9 @@ dnl set here are redundant; the LOAD_CACHE call relies on the way autoconf
dnl initially processes ARG_ENABLE commands.
AC_DEFUN([PAC_ARG_CACHING],[
AC_ARG_ENABLE(cache,
[--enable-cache - Turn on configure caching],
enable_cache="$enableval",enable_cache="notgiven")
AC_HELP_STRING([--enable-cache], [Turn on configure caching]),,
[enable_cache="notgiven"])
])
dnl
dnl Clean the cache of extraneous quotes that AC_CACHE_SAVE may add
dnl
......@@ -329,8 +328,9 @@ dnl cause problems.
dnl
AC_DEFUN([PAC_CREATE_BASE_CACHE],[
AC_ARG_ENABLE(base-cache,
[--enable-base-cache - Enable the use of a simple cache for the subsidieary
configure scripts.],,enable_base_cache=default)
AC_HELP_STRING([--enable-base-cache],
[Enable the use of a simple cache for the subsidiary
configure scripts]),,enable_base_cache=default)
# The default case is controlled by the environment variable CONF_USE_CACHEFILE
if test "$enable_base_cache" = "default" ; then
if test "$CONF_USE_CACHEFILE" = yes ; then
......
......@@ -591,7 +591,7 @@ dnl
dnl D*/
AC_DEFUN([PAC_ARG_STRICT],[
AC_ARG_ENABLE(strict,
[--enable-strict - Turn on strict compilation testing])
AC_HELP_STRING([--enable-strict], [Turn on strict compilation testing]))
PAC_CC_STRICT($enable_strict)
CFLAGS="$CFLAGS $pac_cc_strict_flags"
export CFLAGS
......
......@@ -55,22 +55,29 @@ dnl will probably be defined, including symbols to specify how shared library
dnl search paths are specified and how shared library names are set.
dnl D*/
AC_DEFUN([PAC_ARG_SHAREDLIBS],[
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared], [Enable shared library builds]),,
enable_shared=no)
AC_ARG_ENABLE(rpath,
[--enable-rpath - Determine whether the rpath is set when programs are compiled
and linked when shared libraries are built. The default is yes; use
--disable-rpath to turn this feature off; in that case, shared libraries
will be found according to the rules for your system (e.g., in LD_LIBRARY_PATH],,enable_rpath=yes)
AC_HELP_STRING([--enable-rpath],
[Determine whether the rpath is set when programs are
compiled and linked when shared libraries are built.
The default is yes; use --disable-rpath to turn this
feature off; in that case, shared libraries will be
found according to the rules for your system (e.g., in
LD_LIBRARY_PATH)]),,enable_rpath=yes)
AC_ARG_ENABLE(sharedlibs,
[--enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported],,enable_sharedlibs=default)
[ --enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported
],,enable_sharedlibs=default)
if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
......
......@@ -175,10 +175,9 @@ dnl set here are redundant; the LOAD_CACHE call relies on the way autoconf
dnl initially processes ARG_ENABLE commands.
AC_DEFUN([PAC_ARG_CACHING],[
AC_ARG_ENABLE(cache,
[--enable-cache - Turn on configure caching],
enable_cache="$enableval",enable_cache="notgiven")
AC_HELP_STRING([--enable-cache], [Turn on configure caching]),,
[enable_cache="notgiven"])
])
dnl
dnl Clean the cache of extraneous quotes that AC_CACHE_SAVE may add
dnl
......@@ -329,8 +328,9 @@ dnl cause problems.
dnl
AC_DEFUN([PAC_CREATE_BASE_CACHE],[
AC_ARG_ENABLE(base-cache,
[--enable-base-cache - Enable the use of a simple cache for the subsidieary
configure scripts.],,enable_base_cache=default)
AC_HELP_STRING([--enable-base-cache],
[Enable the use of a simple cache for the subsidiary
configure scripts]),,enable_base_cache=default)
# The default case is controlled by the environment variable CONF_USE_CACHEFILE
if test "$enable_base_cache" = "default" ; then
if test "$CONF_USE_CACHEFILE" = yes ; then
......
......@@ -591,7 +591,7 @@ dnl
dnl D*/
AC_DEFUN([PAC_ARG_STRICT],[
AC_ARG_ENABLE(strict,
[--enable-strict - Turn on strict compilation testing])
AC_HELP_STRING([--enable-strict], [Turn on strict compilation testing]))
PAC_CC_STRICT($enable_strict)
CFLAGS="$CFLAGS $pac_cc_strict_flags"
export CFLAGS
......
......@@ -55,22 +55,29 @@ dnl will probably be defined, including symbols to specify how shared library
dnl search paths are specified and how shared library names are set.
dnl D*/
AC_DEFUN([PAC_ARG_SHAREDLIBS],[
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared], [Enable shared library builds]),,
enable_shared=no)
AC_ARG_ENABLE(rpath,
[--enable-rpath - Determine whether the rpath is set when programs are compiled
and linked when shared libraries are built. The default is yes; use
--disable-rpath to turn this feature off; in that case, shared libraries
will be found according to the rules for your system (e.g., in LD_LIBRARY_PATH],,enable_rpath=yes)
AC_HELP_STRING([--enable-rpath],
[Determine whether the rpath is set when programs are
compiled and linked when shared libraries are built.
The default is yes; use --disable-rpath to turn this
feature off; in that case, shared libraries will be
found according to the rules for your system (e.g., in
LD_LIBRARY_PATH)]),,enable_rpath=yes)
AC_ARG_ENABLE(sharedlibs,
[--enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported],,enable_sharedlibs=default)
[ --enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported
],,enable_sharedlibs=default)
if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
......
......@@ -175,10 +175,9 @@ dnl set here are redundant; the LOAD_CACHE call relies on the way autoconf
dnl initially processes ARG_ENABLE commands.
AC_DEFUN([PAC_ARG_CACHING],[
AC_ARG_ENABLE(cache,
[--enable-cache - Turn on configure caching],
enable_cache="$enableval",enable_cache="notgiven")
AC_HELP_STRING([--enable-cache], [Turn on configure caching]),,
[enable_cache="notgiven"])
])
dnl
dnl Clean the cache of extraneous quotes that AC_CACHE_SAVE may add
dnl
......@@ -329,8 +328,9 @@ dnl cause problems.
dnl
AC_DEFUN([PAC_CREATE_BASE_CACHE],[
AC_ARG_ENABLE(base-cache,
[--enable-base-cache - Enable the use of a simple cache for the subsidieary
configure scripts.],,enable_base_cache=default)
AC_HELP_STRING([--enable-base-cache],
[Enable the use of a simple cache for the subsidiary
configure scripts]),,enable_base_cache=default)
# The default case is controlled by the environment variable CONF_USE_CACHEFILE
if test "$enable_base_cache" = "default" ; then
if test "$CONF_USE_CACHEFILE" = yes ; then
......
......@@ -591,7 +591,7 @@ dnl
dnl D*/
AC_DEFUN([PAC_ARG_STRICT],[
AC_ARG_ENABLE(strict,
[--enable-strict - Turn on strict compilation testing])
AC_HELP_STRING([--enable-strict], [Turn on strict compilation testing]))
PAC_CC_STRICT($enable_strict)
CFLAGS="$CFLAGS $pac_cc_strict_flags"
export CFLAGS
......
......@@ -55,22 +55,29 @@ dnl will probably be defined, including symbols to specify how shared library
dnl search paths are specified and how shared library names are set.
dnl D*/
AC_DEFUN([PAC_ARG_SHAREDLIBS],[
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared], [Enable shared library builds]),,
enable_shared=no)
AC_ARG_ENABLE(rpath,
[--enable-rpath - Determine whether the rpath is set when programs are compiled
and linked when shared libraries are built. The default is yes; use
--disable-rpath to turn this feature off; in that case, shared libraries
will be found according to the rules for your system (e.g., in LD_LIBRARY_PATH],,enable_rpath=yes)
AC_HELP_STRING([--enable-rpath],
[Determine whether the rpath is set when programs are
compiled and linked when shared libraries are built.
The default is yes; use --disable-rpath to turn this
feature off; in that case, shared libraries will be
found according to the rules for your system (e.g., in
LD_LIBRARY_PATH)]),,enable_rpath=yes)
AC_ARG_ENABLE(sharedlibs,
[--enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported],,enable_sharedlibs=default)
[ --enable-sharedlibs=kind - Enable shared libraries. kind may be
gcc - Standard gcc and GNU ld options for creating shared libraries
osx-gcc - Special options for gcc needed only on OS/X
solaris-cc - Solaris native (SPARC) compilers for 32 bit systems
cygwin-gcc - Special options for gcc needed only for cygwin
none - same as --disable-sharedlibs
Only gcc, osx-gcc, and solaris-cc are currently supported
],,enable_sharedlibs=default)
if test "$enable_sharedlibs" = "default" ; then
if test "$enable_shared" = "yes" ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment