Implement ticket #103: changed autoconf script to use native Win32 file I/O on mingw and cygwin
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@951 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
ca8a54c355
commit
ad086e005d
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue