summaryrefslogtreecommitdiff
path: root/config/auto-aux
diff options
context:
space:
mode:
Diffstat (limited to 'config/auto-aux')
-rwxr-xr-xconfig/auto-aux/hasgot3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/auto-aux/hasgot b/config/auto-aux/hasgot
index 99384768a9..5014b903d7 100755
--- a/config/auto-aux/hasgot
+++ b/config/auto-aux/hasgot
@@ -4,10 +4,11 @@ opts=""
libs="$cclibs"
args=$*
rm -f hasgot.c
+var="x"
while : ; do
case "$1" in
-i) echo "#include <$2>" >> hasgot.c; shift;;
- -t) echo "$2 the_$2;" >> hasgot.c; shift;;
+ -t) echo "$2 $var;" >> hasgot.c; var="x$var"; shift;;
-l*|-L*|-F*) libs="$libs $1";;
-framework) libs="$libs $1 $2"; shift;;
-*) opts="$opts $1";;