From b66d269b94016d43b3d256ab01c123ba2937c917 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 1 Feb 2013 20:26:19 +0100 Subject: perform additional expansions on explicitly-specified Scintilla paths a common ./configure parameter would be --with-scintilla=~/scintilla. however the calling shell will not expand tilde and the invoked shell will not automatically fully expand variables. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b7fab50..4a9d500 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,9 @@ AC_ARG_WITH(scintilla, AS_HELP_STRING([--with-scintilla=PATH], [Specify Scintilla's path [default=..]]), [SCINTILLA_PATH=$withval], [SCINTILLA_PATH=..]) -SCINTILLA_PATH=`$READLINK -e $SCINTILLA_PATH` +# eval necessary to perform necessary expansions that may not +# have been done by the calling shell +SCINTILLA_PATH=`eval $READLINK -e $SCINTILLA_PATH` AC_SUBST(SCINTILLA_PATH) CPPFLAGS="$CPPFLAGS -I$SCINTILLA_PATH/include -DSCI_LEXER" -- cgit v1.2.3