comparison src/apr.mk @ 2855:47558e958113

Allow static/shared libraries to be configured in top-level Makefile.
author John W. Eaton <jwe@octave.org>
date Thu, 15 Nov 2012 16:11:45 -0500
parents 4d0f3a9da57e
children dabfd7db980c
comparison
equal deleted inserted replaced
2854:54522aaf400c 2855:47558e958113
19 define $(PKG)_BUILD 19 define $(PKG)_BUILD
20 cd '$(1)' && ./configure \ 20 cd '$(1)' && ./configure \
21 --prefix='$(PREFIX)/$(TARGET)' \ 21 --prefix='$(PREFIX)/$(TARGET)' \
22 --host='$(TARGET)' \ 22 --host='$(TARGET)' \
23 --build="`config.guess`" \ 23 --build="`config.guess`" \
24 --disable-shared \ 24 $(ENABLE_SHARED_OR_STATIC) \
25 --enable-static \
26 ac_cv_sizeof_off_t=4 \ 25 ac_cv_sizeof_off_t=4 \
27 ac_cv_sizeof_pid_t=4 \ 26 ac_cv_sizeof_pid_t=4 \
28 ac_cv_sizeof_size_t=4 \ 27 ac_cv_sizeof_size_t=4 \
29 ac_cv_sizeof_ssize_t=4 \ 28 ac_cv_sizeof_ssize_t=4 \
30 CFLAGS=-D_WIN32_WINNT=0x0500 29 CFLAGS=-D_WIN32_WINNT=0x0500