diff options
author | obo <obo@openoffice.org> | 2010-06-21 15:14:37 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-21 15:14:37 +0200 |
commit | bbe6ade25a1633a5963d5f3cc3c72f743ebe165a (patch) | |
tree | af0de1d66296397815afa2b4d4ba0abcac400930 /configure.in | |
parent | e736a397bae2fec8c87d970efd5852700a72f65e (diff) | |
parent | 224c67b4570f7dbc82705e8184a903aff7557d07 (diff) |
CWS-TOOLING: integrate CWS systemlibc
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 0f658c8cb..048bdc37d 100644 --- a/configure.in +++ b/configure.in @@ -5134,6 +5134,21 @@ if test "$_os" = "Linux"; then fi fi +if test "$_os" != "WNT"; then + AC_CHECK_FUNCS(getopt, HAVE_GETOPT=YES, [HAVE_GETOPT=NO]) + AC_CHECK_FUNCS(readdir_r, HAVE_READDIR_R=YES, [HAVE_READDIR_R=NO]) + if test "$HAVE_GETOPT" = "YES" -a "$HAVE_READDIR_R" = "YES"; then + SYSTEM_LIBC=YES + fi +else + HAVE_GETOPT=NO + HAVE_READDIR_R=NO + SYSTEM_LIBC=YES +fi +AC_SUBST(HAVE_GETOPT) +AC_SUBST(HAVE_READDIR_R) +AC_SUBST(SYSTEM_LIBC) + dnl ========================================= dnl Check for the Microsoft Platform SDK. dnl ========================================= |