View | Details | Raw Unified | Return to bug 46175
Collapse All | Expand All

(-)apr-svn/test/Makefile.in (-3 / +3 lines)
Lines 74-80 Link Here
74
74
75
# link programs using -no-install to get real executables not
75
# link programs using -no-install to get real executables not
76
# libtool wrapper scripts which link an executable when first run.
76
# libtool wrapper scripts which link an executable when first run.
77
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(LT_LDFLAGS) $(COMPILE) \
77
LINK_PROG = $(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) $(LT_LDFLAGS) \
78
	    @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
78
	    @LT_NO_INSTALL@ $(ALL_LDFLAGS) -o $@
79
79
80
# STDTEST_PORTABLE;
80
# STDTEST_PORTABLE;
Lines 126-135 Link Here
126
	  -c $(srcdir)/mod_test.c
126
	  -c $(srcdir)/mod_test.c
127
127
128
OBJECTS_mod_test = mod_test.lo
128
OBJECTS_mod_test = mod_test.lo
129
mod_test.la: $(OBJECTS_mod_test)
129
mod_test.la: $(OBJECTS_mod_test) $(LOCAL_LIBS)
130
	$(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -rpath `pwd` -module \
130
	$(LIBTOOL) $(LTFLAGS) --mode=link $(COMPILE) -rpath `pwd` -module \
131
	  -avoid-version $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@ \
131
	  -avoid-version $(LT_LDFLAGS) $(ALL_LDFLAGS) -o $@ \
132
	  $(OBJECTS_mod_test)
132
	  $(OBJECTS_mod_test) $(LOCAL_LIBS)
133
133
134
OBJECTS_libmod_test = mod_test.lo $(LOCAL_LIBS)
134
OBJECTS_libmod_test = mod_test.lo $(LOCAL_LIBS)
135
libmod_test.la: $(OBJECTS_libmod_test)
135
libmod_test.la: $(OBJECTS_libmod_test)
(-)apr-svn/include/apr.h.in (-4 lines)
Lines 524-530 Link Here
524
 */
524
 */
525
#define APR_DECLARE_DATA
525
#define APR_DECLARE_DATA
526
526
527
#if !defined(WIN32) || defined(APU_MODULE_DECLARE_STATIC)
528
/**
527
/**
529
 * Declare a dso module's exported module structure as APR_MODULE_DECLARE_DATA.
528
 * Declare a dso module's exported module structure as APR_MODULE_DECLARE_DATA.
530
 *
529
 *
Lines 535-543 Link Here
535
 * @endcode
534
 * @endcode
536
 */
535
 */
537
#define APR_MODULE_DECLARE_DATA
536
#define APR_MODULE_DECLARE_DATA
538
#else
539
#define APR_MODULE_DECLARE_DATA           __declspec(dllexport)
540
#endif
541
537
542
/**
538
/**
543
 * @deprecated
539
 * @deprecated
(-)apr-svn/configure.in (-9 / +6 lines)
Lines 293-299 Link Here
293
if test "x$use_libtool" = "xyes"; then
293
if test "x$use_libtool" = "xyes"; then
294
      lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
294
      lt_compile='$(LIBTOOL) $(LTFLAGS) --mode=compile $(COMPILE) -o $@ -c $< && touch $@'
295
      LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
295
      LT_VERSION="-version-info `$get_version libtool $version_hdr APR`"
296
      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(LT_LDFLAGS) \$(COMPILE) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
296
      link="\$(LIBTOOL) \$(LTFLAGS) --mode=link \$(COMPILE) \$(LT_LDFLAGS) \$(LT_VERSION) \$(ALL_LDFLAGS) -o \$@"
297
      so_ext='lo'
297
      so_ext='lo'
298
      lib_target='-rpath $(libdir) $(OBJECTS)'
298
      lib_target='-rpath $(libdir) $(OBJECTS)'
299
      export_lib_target='-rpath \$(libdir) \$(OBJECTS)'
299
      export_lib_target='-rpath \$(libdir) \$(OBJECTS)'
Lines 309-314 Link Here
309
    *-solaris2*)
309
    *-solaris2*)
310
        apr_platform_runtime_link_flag="-R"
310
        apr_platform_runtime_link_flag="-R"
311
        ;;
311
        ;;
312
    *-mingw* | *-cygwin*)
313
        LT_LDFLAGS="$LT_LDFLAGS -no-undefined -export-dynamic"
314
        ;;
312
    *)
315
    *)
313
        ;;
316
        ;;
314
esac
317
esac
Lines 679-692 Link Here
679
dnl end up LIBS="-lm -lcrypt -lnsl  -ldl" which is an annoyance.
682
dnl end up LIBS="-lm -lcrypt -lnsl  -ldl" which is an annoyance.
680
case $host in
683
case $host in
681
   *-mingw*)
684
   *-mingw*)
682
      AC_CHECK_LIB(msvcrt, getpid)
685
      APR_ADDTO(LIBS,[-lshell32 -ladvapi32 -lws2_32 -lrpcrt4 -lmswsock])
683
      APR_CHECK_DLL_FUNC(kernel32, SetErrorMode@4)
686
      ac_cv_func_CreateFileMapping=yes
684
      APR_CHECK_DLL_FUNC(advapi32, GetSecurityInfo@32)
685
      APR_CHECK_DLL_FUNC(ws2_32, gethostbyname@4)
686
      APR_CHECK_DLL_FUNC(shell32, CommandLineToArgvW@8)
687
      APR_CHECK_DLL_FUNC(kernel32,[CreateFileMappingA@24],
688
         [ac_cv_func_CreateFileMapping=$ac_cv_lib_kernel32_CreateFileMappingA])
689
      APR_CHECK_DLL_FUNC(rpcrt4,[UuidCreate@4])
690
      ;;
687
      ;;
691
   *)
688
   *)
692
      AC_SEARCH_LIBS(gethostbyname, nsl)
689
      AC_SEARCH_LIBS(gethostbyname, nsl)

Return to bug 46175