diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-02-16 10:58:18 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-02-16 10:58:18 +0000 |
commit | 7194ff20bf32d8231bd53b60de8b6c683886aca2 (patch) | |
tree | 273a89f3dc4f1748d72e56e7efe9648dedf5c10c | |
parent | 3976bdec028825d2aa2a6d979ae89f22ba19c84a (diff) |
Implement ticket #103: changed autoconf script to use native Win32 file I/O on mingw and cygwin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@951 74dad513-b988-da41-8d7b-12977e46ad98
-rwxr-xr-x | aconfigure | 4 | ||||
-rw-r--r-- | aconfigure.ac | 4 | ||||
-rw-r--r-- | pjlib/build/os-auto.mak.in | 2 |
3 files changed, 4 insertions, 6 deletions
@@ -8349,10 +8349,10 @@ rm -f conftest.err conftest.$ac_objext conftest.$ac_ext case $target in *mingw* | *cygw* | *win32* | *w32* ) - ac_os_objs="os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" + ac_os_objs="file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" ;; *) - ac_os_objs="os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" + ac_os_objs="file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" ;; esac diff --git a/aconfigure.ac b/aconfigure.ac index f94dcd73..d729c963 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -223,10 +223,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>], AC_SUBST(ac_os_objs) case $target in *mingw* | *cygw* | *win32* | *w32* ) - ac_os_objs="os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" + ac_os_objs="file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o" ;; *) - ac_os_objs="os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" + ac_os_objs="file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o ioqueue_select.o" ;; esac diff --git a/pjlib/build/os-auto.mak.in b/pjlib/build/os-auto.mak.in index e4bfe62b..a4a2b8aa 100644 --- a/pjlib/build/os-auto.mak.in +++ b/pjlib/build/os-auto.mak.in @@ -14,8 +14,6 @@ export PJLIB_OBJS += $(AC_OS_OBJS) \ os_timestamp_common.o \ pool_policy_malloc.o sock_bsd.o sock_select.o -export PJLIB_OBJS += file_access_unistd.o file_io_ansi.o - # # TEST_OBJS are operating system specific object files to be included in # the test application. |