summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRobert Andersson <streambag@streambag.se>2011-06-19 11:17:38 +0200
committerRobert Andersson <streambag@streambag.se>2011-06-19 11:17:38 +0200
commit6642a467625b09ac404073e34eb7075bf1bbd395 (patch)
tree09518cf485ad06ca017b5e52c8708e11c39a1c07 /configure
parent6a783918cc635470b97329000c8fe917283b8abc (diff)
downloadfribid-6642a467625b09ac404073e34eb7075bf1bbd395.tar.gz
fribid-6642a467625b09ac404073e34eb7075bf1bbd395.tar.bz2
fribid-6642a467625b09ac404073e34eb7075bf1bbd395.zip
Fix configure script again after merge.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a2337aa..0a35902 100755
--- a/configure
+++ b/configure
@@ -145,7 +145,7 @@ Options:
--internal--get-define=*)
name=${flag#--internal--get-define=}
[ ! -r "$basedir/common/config.h" ] && exit 1 # Exit if not configured yet
- printf '#define CALLED_FROM_CONFIGURE\n#include "%s"\n%s\n' "$basedir/common/defines.h" "$name" | cpp - | sed 's/#[^\n]*//g' | tr -d '\n' | sed 's/" "//g' | tr -d '\"'
+ printf '#define CALLED_FROM_CONFIGURE\n#include "%s"\n%s\n' "$basedir/common/defines.h" "$name" | cpp - | sed 's/#.*$//g' | tr -d '\n' | sed 's/" "//g' | tr -d '\"'
exit 0
;;
--internal--remove-link)