]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
configure: UnixWare use of variadic macros
authorAidan Van Dyk <aidan@ifax.com>
Tue, 20 Jan 2009 19:02:26 +0000 (19:02 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Tue, 20 Jan 2009 19:02:26 +0000 (19:02 +0000)
CC on UnixWare(7) needs this for variadic macros.  It's only in GCXXOPTS
because cc *doesn't* need it, and actually fails if it's used, so this is
CC specific.

configure

index b0fc8e656c2890dcdeaff3101116b60c42f1e187..e13a2c9ba8424a7227651094c58ce414ed9be822 100755 (executable)
--- a/configure
+++ b/configure
@@ -1086,6 +1086,9 @@ if [ -z "$GCXXOPTS" ]; then
     CC-*-sco3.2v5.*)           # cfront-based or cfront-compatible
        GCXXOPTS='+a1 +p'
        ;;
+    CC-*-sysv5*)                # CC here needs this, cc doesn't
+        GCXXOPTS='-Wf,--variadic_macro'
+        ;;
     *)
        GCXXOPTS=
        ;;