Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sudheer Chunduri
darshan
Commits
4bc44022
Commit
4bc44022
authored
Apr 27, 2017
by
Shane Snyder
Browse files
Merge branch 'gkl/fix-bz2-ac' into 'master'
fix --with-bzlib=DIR ignoring DIR See merge request !13
parents
d24220d0
d19e0e47
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-util/configure
View file @
4bc44022
...
...
@@ -3525,6 +3525,7 @@ if test "${with_bzlib+set}" = set; then :
then
BZLIB_HOME
=
"
$withval
"
else
BZLIB_HOME
=
/usr/local
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: WARNING: Sorry,
$withval
does not exist, checking usual places"
>
&5
$as_echo
"
$as_me
: WARNING: Sorry,
$withval
does not exist, checking usual places"
>
&2
;
}
fi
...
...
@@ -3536,17 +3537,16 @@ fi
fi
BZLIB_HOME
=
/usr/local
if
test
!
-f
"
${
BZLIB_HOME
}
/include/bzlib.h"
then
BZLIB_HOME
=
/usr
fi
#
# Locate bzlib, if wanted
#
if
test
-z
"
${
DISABLE_BZLIB
}
"
then
if
test
!
-f
"
${
BZLIB_HOME
}
/include/bzlib.h"
then
BZLIB_HOME
=
/usr
fi
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: result: yes"
>
&5
$as_echo
"yes"
>
&6
;
}
BZLIB_OLD_LDFLAGS
=
$LDFLAGS
...
...
maint/config/check_bzlib.m4
View file @
4bc44022
...
...
@@ -37,6 +37,7 @@ AC_ARG_WITH(bzlib,
then
BZLIB_HOME="$withval"
else
BZLIB_HOME=/usr/local
AC_MSG_WARN([Sorry, $withval does not exist, checking usual places])
fi
else
...
...
@@ -44,17 +45,16 @@ else
AC_MSG_RESULT(no)
fi])
BZLIB_HOME=/usr/local
if test ! -f "${BZLIB_HOME}/include/bzlib.h"
then
BZLIB_HOME=/usr
fi
#
# Locate bzlib, if wanted
#
if test -z "${DISABLE_BZLIB}"
then
if test ! -f "${BZLIB_HOME}/include/bzlib.h"
then
BZLIB_HOME=/usr
fi
AC_MSG_RESULT(yes)
BZLIB_OLD_LDFLAGS=$LDFLAGS
BZLIB_OLD_CPPFLAGS=$CPPFLAGS
...
...
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