Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
62ed3580
Commit
62ed3580
authored
Feb 12, 2011
by
Thomas White
Committed by
Thomas White
Feb 22, 2012
Browse files
Restore --with-gsl in configure
parent
d484070b
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
62ed3580
...
...
@@ -807,6 +807,7 @@ enable_option_checking
enable_dependency_tracking
enable_silent_rules
with_hdf5
with_gsl
enable_gsl_fudge
enable_opencl
enable_gtk
...
...
@@ -1474,6 +1475,8 @@ Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-hdf5 specify location of HDF5 library
--with-gsl specify location of GSL (instead of using
pkg-config)
--with-libtiff specify location of libTIFF library
Some influential environment variables:
...
...
@@ -6334,6 +6337,12 @@ $as_echo "no" >&6; }
fi
fi
# Check whether --with-gsl was given.
if
test
"
${
with_gsl
+set
}
"
=
set
;
then
:
withval
=
$with_gsl
;
GSL_CFLAGS
=
"-I
$withval
/include"
GSL_LIBS
=
"-L
$withval
/lib -lgsl -lgslcblas -lm"
else
pkg_failed
=
no
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for GSL"
>
&5
$as_echo_n
"checking for GSL... "
>
&6
;
}
...
...
@@ -6391,13 +6400,13 @@ fi
echo
"
$GSL_PKG_ERRORS
"
>
&5
as_fn_error $? "GSL is required" "$LINENO" 5
as_fn_error
$?
"GSL is required"
"
$LINENO
"
5
elif
test
$pkg_failed
=
untried
;
then
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: no"
>
&5
$as_echo
"no"
>
&6
;
}
as_fn_error $? "GSL is required" "$LINENO" 5
as_fn_error
$?
"GSL is required"
"
$LINENO
"
5
else
GSL_CFLAGS
=
$pkg_cv_GSL_CFLAGS
...
...
@@ -6407,6 +6416,9 @@ $as_echo "yes" >&6; }
fi
fi
# Check whether --enable-gsl-fudge was given.
if
test
"
${
enable_gsl_fudge
+set
}
"
=
set
;
then
:
...
...
configure.ac
View file @
62ed3580
...
...
@@ -30,9 +30,14 @@ AC_ARG_WITH(hdf5,
[HDF5_LIBS="-lhdf5"])
PKG_CHECK_MODULES([GSL], [gsl], [],
[
AC_ERROR([GSL is required])
AC_ARG_WITH(gsl,
[AS_HELP_STRING([--with-gsl], [specify location of GSL (instead of using pkg-config)])],
[GSL_CFLAGS="-I$withval/include"
GSL_LIBS="-L$withval/lib -lgsl -lgslcblas -lm"],
[PKG_CHECK_MODULES([GSL], [gsl], [],
[
AC_ERROR([GSL is required])
])
])
...
...
Write
Preview
Supports
Markdown
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