Commit aaee934f authored by dscho's avatar dscho

fixed --link option to libvncserver-config

parent 3c5d1b0f
...@@ -5,7 +5,11 @@ AM_CONFIG_HEADER([include/rfbconfig.h]) ...@@ -5,7 +5,11 @@ AM_CONFIG_HEADER([include/rfbconfig.h])
# Checks for programs. # Checks for programs.
AC_PROG_CC AC_PROG_CC
CCLD="\$(CC)" if test -z "$CC"; then
CCLD="\$(CC)"
else
CCLD="$CC"
fi
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_PROG_RANLIB AC_PROG_RANLIB
...@@ -55,7 +59,11 @@ if test ! -z "$HAVE_ZLIB_H"; then ...@@ -55,7 +59,11 @@ if test ! -z "$HAVE_ZLIB_H"; then
if test x$CXX != xnone; then if test x$CXX != xnone; then
AC_DEFINE(HAVE_ZRLE) AC_DEFINE(HAVE_ZRLE)
AC_PROG_CXX AC_PROG_CXX
CCLD="\$(CXX)" if test -z "$CXX"; then
CCLD="\$(CXX)"
else
CCLD="$CXX"
fi
fi fi
fi fi
else else
......
...@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@ ...@@ -5,7 +5,7 @@ exec_prefix=@exec_prefix@
exec_prefix_set=no exec_prefix_set=no
usage="\ usage="\
Usage: @PACKAGE@-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]" Usage: @PACKAGE@-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--link] [--libs] [--cflags]"
if test $# -eq 0; then if test $# -eq 0; then
echo "${usage}" 1>&2 echo "${usage}" 1>&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment