Changeset 144 for trunk/aclocal.m4


Ignore:
Timestamp:
Oct 31, 2007, 11:33:13 PM (14 years ago)
Author:
rainer
Message:

Fix some more queer compile problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/aclocal.m4

    r139 r144  
    17831783        fi
    17841784
     1785        # Solaris lossage: default is obsolete semantics for getpwnam_r,
     1786        # getpwuid_r, getgrgid_r, unless _POSIX_PTHREAD_SEMANTICS is defined
    17851787        AC_MSG_CHECKING([if more special flags are required for pthreads])
    17861788        flag=no
    17871789        case "${host_cpu}-${host_os}" in
    17881790            *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
    1789             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
     1791            *-osf* | *-hpux*) flag="-D_REENTRANT";;
     1792            *solaris*) flag="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
    17901793        esac
    17911794        AC_MSG_RESULT(${flag})
Note: See TracChangeset for help on using the changeset viewer.