Skip to content
Snippets Groups Projects
Commit f235f943 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

use AC_HELP macro
parent 56fc33f2
No related branches found
No related tags found
No related merge requests found
...@@ -1297,13 +1297,11 @@ if test "${enable_gui+set}" = set; then ...@@ -1297,13 +1297,11 @@ if test "${enable_gui+set}" = set; then
enableval="$enable_gui" enableval="$enable_gui"
fi; fi;
# Check whether --enable-parallel or --disable-parallel was given. # Check whether --enable-parallel or --disable-parallel was given.
if test "${enable_parallel+set}" = set; then if test "${enable_parallel+set}" = set; then
enableval="$enable_parallel" enableval="$enable_parallel"
fi; fi;
# Check whether --enable-triangle or --disable-triangle was given. # Check whether --enable-triangle or --disable-triangle was given.
if test "${enable_triangle+set}" = set; then if test "${enable_triangle+set}" = set; then
enableval="$enable_triangle" enableval="$enable_triangle"
......
dnl "$Id: configure.in,v 1.14 2003-02-12 20:30:54 geuzaine Exp $" dnl "$Id: configure.in,v 1.15 2003-02-12 20:37:24 geuzaine Exp $"
dnl dnl
dnl Machine independent configuration script for Gmsh. dnl Machine independent configuration script for Gmsh.
dnl dnl
...@@ -28,21 +28,24 @@ AC_INIT(Parser/Gmsh.y) ...@@ -28,21 +28,24 @@ AC_INIT(Parser/Gmsh.y)
dnl Parse --with command-line options dnl Parse --with command-line options
AC_ARG_WITH(gsl-prefix, AC_ARG_WITH(gsl-prefix,
[ --with-gsl-prefix=PFX prefix where GSL is installed], AC_HELP_STRING([--with-gsl-prefix=PFX],
[prefix where GSL is installed]),
[GSL_PREFIX=$withval],[GSL_PREFIX="$GSL_DIR"]) [GSL_PREFIX=$withval],[GSL_PREFIX="$GSL_DIR"])
AC_ARG_WITH(fltk-prefix, AC_ARG_WITH(fltk-prefix,
[ --with-fltk-prefix=PFX prefix where FLTK is installed], AC_HELP_STRING([--with-fltk-prefix=PFX],
[prefix where FLTK is installed]),
[FLTK_PREFIX=$withval],[FLTK_PREFIX="$FLTK_DIR"]) [FLTK_PREFIX=$withval],[FLTK_PREFIX="$FLTK_DIR"])
dnl Parse --enable command line options dnl Parse --enable command line options
AC_ARG_ENABLE(gui, AC_ARG_ENABLE(gui,
[ --enable-gui build the graphical user interface (default=yes)]) AC_HELP_STRING([--enable-gui],
[build the graphical user interface (default=yes)]))
AC_ARG_ENABLE(parallel, AC_ARG_ENABLE(parallel,
[ --enable-parallel enable parallel version (default=no)]) AC_HELP_STRING([--enable-parallel],
[enable parallel version (default=no)]))
AC_ARG_ENABLE(triangle, AC_ARG_ENABLE(triangle,
[ --enable-triangle compile Triangle if available (default=yes)]) AC_HELP_STRING([--enable-triangle],
[compile Triangle if available (default=yes)]))
dnl Get the operating system and version number dnl Get the operating system and version number
UNAME=`uname` UNAME=`uname`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment