You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2009/03/07 16:41:46 UTC
svn commit: r751284 -
/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Author: markt
Date: Sat Mar 7 15:41:45 2009
New Revision: 751284
URL: http://svn.apache.org/viewvc?rev=751284&view=rev
Log:
Fix DAEMON-123
Add support for building on AIX5
Patch provided by Jeffrey Trimble
Modified:
commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Modified: commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4?rev=751284&r1=751283&r2=751284&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Sat Mar 7 15:41:45 2009
@@ -65,6 +65,10 @@
LDFLAGS="$LDFLAGS -pthread"
LIBS="$LIBS -lpthread"
;;
+ aix5*)
+ CFLAGS="$CFLAGS -DOS_AIX -DDSO_DLFCN"
+ LDFLAGS="$LDFLAGS -ldl"
+ ;;
*)
AC_MSG_RESULT([failed])
AC_MSG_ERROR([Unsupported operating system "$host_os"])