Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
d19e0e47
Commit
d19e0e47
authored
Apr 26, 2017
by
Glenn K. Lockwood
Browse files
fix --with-bzlib=DIR ignoring DIR
parent
1a7661d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-util/configure
View file @
d19e0e47
...
...
@@ -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 @
d19e0e47
...
...
@@ -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
Supports
Markdown
0%
Try again
or
attach a new 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