Commit 1fd2bc8c37a053b5de531ba1380c18b014a94d9b

J Raynor 2016-03-05T16:38:35

Make FreeType compile on AIX out of the box. * builds/unix/configure.raw (XX_ANSIFLAGS): Don't use `-ansi' on AIX.

diff --git a/ChangeLog b/ChangeLog
index b827992..4c3cab8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-03-05  J Raynor <jxraynor@gmail.com>
+
+	Make FreeType compile on AIX out of the box.
+
+	* builds/unix/configure.raw (XX_ANSIFLAGS): Don't use `-ansi' on
+	AIX.
+
 2016-03-01  Werner Lemberg  <wl@gnu.org>
 	    Kostya Serebryany  <kcc@google.com>
 
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 1be10a3..ee81474 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -235,6 +235,9 @@ if test "x$GCC" = xyes; then
   *-*-mingw*)
     XX_ANSIFLAGS="-pedantic"
     ;;
+  *-*-aix*)
+    XX_ANSIFLAGS="-pedantic"
+    ;;
   *)
     GCC_VERSION=`$CC -dumpversion`
     GCC_MAJOR=`echo "$GCC_VERSION" | sed 's/\([[^.]][[^.]]*\).*/\1/'`