Commit aec0bd3d authored by Michael Graff's avatar Michael Graff
Browse files

add -D_THREAD_SAFE for AIX

parent a5cf3cf6
This diff is collapsed.
...@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ...@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE. dnl SOFTWARE.
AC_REVISION($Revision: 1.131 $) AC_REVISION($Revision: 1.132 $)
AC_PREREQ(2.13) AC_PREREQ(2.13)
...@@ -380,6 +380,9 @@ if test "X$GCC" = "Xyes"; then ...@@ -380,6 +380,9 @@ if test "X$GCC" = "Xyes"; then
*-solaris*) *-solaris*)
LIBS="$LIBS -lthread" LIBS="$LIBS -lthread"
;; ;;
*-ibm-aix*)
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
;;
esac esac
else else
case "$host" in case "$host" in
...@@ -399,6 +402,9 @@ else ...@@ -399,6 +402,9 @@ else
*-sgi-irix*) *-sgi-irix*)
STD_CWARNINGS="-fullwarn" STD_CWARNINGS="-fullwarn"
;; ;;
*-ibm-aix*)
STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
;;
esac esac
fi fi
AC_SUBST(MKDEPCC) AC_SUBST(MKDEPCC)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment