Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
adc8fd43
Commit
adc8fd43
authored
Oct 13, 1999
by
Niels Möller
Browse files
* configure.in: Fix tests for --with-system-argp.
Rev: configure.in:1.29
parent
d7e6ae28
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
adc8fd43
...
...
@@ -110,7 +110,11 @@ fi
AC_ARG_WITH(scheme,
[--with-scheme[=PROGRAM] Use a particular scheme implementation],,
[with_scheme=])
AC_ARG_WITH(system-argp,
[--without-system-argp Don't use the system's argp.],,
[with_system_argp=yes])
dnl Checks for programs.
AC_PROG_CC
AC_PROG_MAKE_SET
...
...
@@ -132,11 +136,6 @@ fi
SCHEME_NAME=`basename $SCHEME_PROGRAM`
AC_SUBST(SCHEME_NAME)
AC_ARG_WITH(system-argp,
[--without-system-argp Don't use the system's argp.],,
[with_system_argp=yes])
AC_PATH_PROG(BASH, bash,, $PATH)
AC_PATH_PROG(GROFF, groff,, $PATH)
...
...
@@ -331,8 +330,10 @@ dnl AC_CHECK_FUNCS(getopt_long,,[LIBOBJS="getopt.o $LIBOBJS"])
AC_CHECK_FUNCS(getopt_long,,[LIBOBJS="getopt.o getopt1.o $LIBOBJS"])
dnl FIXME: If the system already has argp, it's unnecessary to build our own.
if test x$with_system_argp = x
no
; then
if test x$with_system_argp = x
yes
; then
AC_CHECK_FUNCS(argp_parse,, [LIBOBJS="$LIBOBJS argp/libargp.a"])
else
LIBOBJS="$LIBOBJS argp/libargp.a"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment