Lines 292-298
Link Here
|
292 |
if test "x$use_libtool" = "xyes"; then |
292 |
if test "x$use_libtool" = "xyes"; then |
293 |
lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@' |
293 |
lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@' |
294 |
LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" |
294 |
LT_VERSION="-version-info `$get_version libtool $version_hdr APR`" |
295 |
link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" |
295 |
link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@" |
296 |
so_ext='lo' |
296 |
so_ext='lo' |
297 |
lib_target='-rpath $(libdir) $(OBJECTS)' |
297 |
lib_target='-rpath $(libdir) $(OBJECTS)' |
298 |
export_lib_target='-rpath \$(libdir) \$(OBJECTS)' |
298 |
export_lib_target='-rpath \$(libdir) \$(OBJECTS)' |
Lines 308-313
Link Here
|
308 |
*-solaris2*) |
308 |
*-solaris2*) |
309 |
apr_platform_runtime_link_flag="-R" |
309 |
apr_platform_runtime_link_flag="-R" |
310 |
;; |
310 |
;; |
|
|
311 |
*-mingw* | *-cygwin*) |
312 |
LT_LDFLAGS="$LT_LDFLAGS -no-undefined" |
313 |
;; |
311 |
*) |
314 |
*) |
312 |
;; |
315 |
;; |
313 |
esac |
316 |
esac |
Lines 684-699
Link Here
|
684 |
dnl end up LIBS="-lm -lcrypt -lnsl -ldl" which is an annoyance. |
687 |
dnl end up LIBS="-lm -lcrypt -lnsl -ldl" which is an annoyance. |
685 |
case $host in |
688 |
case $host in |
686 |
*-mingw*) |
689 |
*-mingw*) |
687 |
dnl APR_ADDTO(LIBS,[-lmsvcrt --lshell32 -ladvapi32 -lws2_32]) |
690 |
APR_ADDTO(LIBS,[-lshell32 -ladvapi32 -lws2_32 -lrpcrt4 -lmswsock]) |
688 |
|
691 |
ac_cv_func_CreateFileMapping=yes |
689 |
AC_CHECK_LIB(msvcrt, getpid) |
|
|
690 |
APR_CHECK_DLL_FUNC(kernel32, SetErrorMode@4) |
691 |
APR_CHECK_DLL_FUNC(advapi32, GetSecurityInfo@32) |
692 |
APR_CHECK_DLL_FUNC(ws2_32, gethostbyname@4) |
693 |
APR_CHECK_DLL_FUNC(shell32, CommandLineToArgvW@8) |
694 |
APR_CHECK_DLL_FUNC(kernel32,[CreateFileMappingA@24], |
695 |
[ac_cv_func_CreateFileMapping=$ac_cv_lib_kernel32_CreateFileMappingA]) |
696 |
APR_CHECK_DLL_FUNC(rpcrt4,[UuidCreate@4]) |
697 |
;; |
692 |
;; |
698 |
*) |
693 |
*) |
699 |
AC_SEARCH_LIBS(gethostbyname, nsl) |
694 |
AC_SEARCH_LIBS(gethostbyname, nsl) |
Lines 2545-2556
Link Here
|
2545 |
|
2540 |
|
2546 |
dnl Do we have a Win32-centric Unicode FS? |
2541 |
dnl Do we have a Win32-centric Unicode FS? |
2547 |
|
2542 |
|
2548 |
if test -z "$have_unicode_fs"; then |
2543 |
APR_SETIFNULL(have_unicode_fs, [0]) |
2549 |
have_unicode_fs="0" |
|
|
2550 |
fi |
2551 |
|
2552 |
AC_SUBST(have_unicode_fs) |
2544 |
AC_SUBST(have_unicode_fs) |
2553 |
|
2545 |
|
|
|
2546 |
|
2547 |
dnl ----------------------------- Other misc variable |
2548 |
APR_SETIFNULL(xthread_files, [0]) |
2549 |
AC_SUBST(xthread_files) |
2550 |
|
2551 |
APR_SETIFNULL(procattr_user_set_requires_pwd, [0]) |
2552 |
AC_SUBST(procattr_user_set_requires_pwd) |
2553 |
|
2554 |
APR_SETIFNULL(apr_thread_func, []) |
2555 |
AC_SUBST(apr_thread_func) |
2556 |
|
2557 |
APR_SETIFNULL(apr_has_user, [1]) |
2558 |
AC_SUBST(apr_has_user) |
2559 |
|
2560 |
|
2554 |
dnl ------------------------------ APR-util stuff |
2561 |
dnl ------------------------------ APR-util stuff |
2555 |
|
2562 |
|
2556 |
APU_PRELOAD |
2563 |
APU_PRELOAD |