]> git.wh0rd.org - fontconfig.git/blobdiff - src/makealias
Attempt to fix makealias usage for build on Mac OS X.
[fontconfig.git] / src / makealias
index ebbe5596796afc15fe4f813cf1776c1b3595870b..02167b25bdf1cfda21b0839c42fd661d3e3a8214 100755 (executable)
@@ -4,6 +4,7 @@ shift
 HEAD=fcalias.h
 TAIL=fcaliastail.h
 rm -f $HEAD $TAIL
+echo "#if HAVE_GNUC_ATTRIBUTE" >> $TAIL
 cat "$@" | grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$//' |
 while read name; do
        case $name in
@@ -22,3 +23,4 @@ while read name; do
                ;;
        esac
 done
+echo "#endif" >> $TAIL