Skip to content
Snippets Groups Projects
Commit 5dbdd23a authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Gargh.

parent 294da43a
No related branches found
No related tags found
No related merge requests found
......@@ -177,8 +177,8 @@ dnl now check if the library and header files exist
dnl
if test "$8" = "optional" ; then
AC_CHECK_LIB(${UPNAME[_NAME]}, main,
[UPNAME[_LIB]="-L${UPNAME[_LIB_PATH]} -l$2"
UPNAME[_ALL_LIB]="-L${UPNAME[_LIB_PATH]} -l$2 $4"],
[UPNAME[_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]}"
UPNAME[_ALL_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]} $4"],
[UPNAME[_LIB]=""
UPNAME[_ALL_LIB]=""
UPNAME[_LIB_PATH]=""
......@@ -187,9 +187,9 @@ if test "$8" = "optional" ; then
-L${UPNAME[_LIB_PATH]} $4)
else
AC_CHECK_LIB(${UPNAME[_NAME]}, main,
[UPNAME[_LIB]="-L${UPNAME[_LIB_PATH]} -l$2"
UPNAME[_ALL_LIB]="-L${UPNAME[_LIB_PATH]} -l$2 $4"],
[AC_MSG_ERROR([Library "lib$2" was not found])],
[UPNAME[_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]}"
UPNAME[_ALL_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]} $4"],
[AC_MSG_ERROR([Library "lib${UPNAME[_NAME]}" was not found])],
-L$UPNAME[_LIB_PATH] $4)
fi
if test "x${UPNAME[_LIB]}" = "x" ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment