19153
if test "x-$build_os-$host_os-$target_os" = x-mingw32-mingw32-mingw32 ; then
19154
# Extract the first word of "dlltool", so it can be a program name with args.
19155
set dummy dlltool; ac_word=$2
19156
echo "$as_me:$LINENO: checking for $ac_word" >&5
19157
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19158
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
19159
echo $ECHO_N "(cached) $ECHO_C" >&6
19161
if test -n "$DLLTOOL"; then
19162
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
19164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19165
for as_dir in $PATH
19168
test -z "$as_dir" && as_dir=.
19169
for ac_exec_ext in '' $ac_executable_extensions; do
19170
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19171
ac_cv_prog_DLLTOOL="dlltool"
19172
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19180
DLLTOOL=$ac_cv_prog_DLLTOOL
19181
if test -n "$DLLTOOL"; then
19182
echo "$as_me:$LINENO: result: $DLLTOOL" >&5
19183
echo "${ECHO_T}$DLLTOOL" >&6
19185
echo "$as_me:$LINENO: result: no" >&5
19186
echo "${ECHO_T}no" >&6
19189
# Extract the first word of "dllwrap", so it can be a program name with args.
19190
set dummy dllwrap; ac_word=$2
19191
echo "$as_me:$LINENO: checking for $ac_word" >&5
19192
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19193
if test "${ac_cv_prog_DLLWRAP+set}" = set; then
19194
echo $ECHO_N "(cached) $ECHO_C" >&6
19196
if test -n "$DLLWRAP"; then
19197
ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
19199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19200
for as_dir in $PATH
19203
test -z "$as_dir" && as_dir=.
19204
for ac_exec_ext in '' $ac_executable_extensions; do
19205
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19206
ac_cv_prog_DLLWRAP="dllwrap"
19207
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19215
DLLWRAP=$ac_cv_prog_DLLWRAP
19216
if test -n "$DLLWRAP"; then
19217
echo "$as_me:$LINENO: result: $DLLWRAP" >&5
19218
echo "${ECHO_T}$DLLWRAP" >&6
19220
echo "$as_me:$LINENO: result: no" >&5
19221
echo "${ECHO_T}no" >&6
19224
# Extract the first word of "pexports", so it can be a program name with args.
19225
set dummy pexports; ac_word=$2
19226
echo "$as_me:$LINENO: checking for $ac_word" >&5
19227
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19228
if test "${ac_cv_prog_PEXPORTS+set}" = set; then
19229
echo $ECHO_N "(cached) $ECHO_C" >&6
19231
if test -n "$PEXPORTS"; then
19232
ac_cv_prog_PEXPORTS="$PEXPORTS" # Let the user override the test.
19234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19235
for as_dir in $PATH
19238
test -z "$as_dir" && as_dir=.
19239
for ac_exec_ext in '' $ac_executable_extensions; do
19240
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19241
ac_cv_prog_PEXPORTS="pexports"
19242
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19250
PEXPORTS=$ac_cv_prog_PEXPORTS
19251
if test -n "$PEXPORTS"; then
19252
echo "$as_me:$LINENO: result: $PEXPORTS" >&5
19253
echo "${ECHO_T}$PEXPORTS" >&6
19255
echo "$as_me:$LINENO: result: no" >&5
19256
echo "${ECHO_T}no" >&6
19104
19261
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19105
19262
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19106
19263
if test "${ac_cv_header_stdc+set}" = set; then
22110
22280
OS_SPECIFIC_INCLUDES="-fpascal-strings -I/Developer/Headers/FlatCarbon"
22111
22281
OS_SPECIFIC_LINKS="-framework CoreAudio"
22115
for ac_header in mmreg.h
22117
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22118
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22119
echo "$as_me:$LINENO: checking for $ac_header" >&5
22120
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22121
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22122
echo $ECHO_N "(cached) $ECHO_C" >&6
22124
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22125
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22127
# Is the header compilable?
22128
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22129
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22130
cat >conftest.$ac_ext <<_ACEOF
22133
cat confdefs.h >>conftest.$ac_ext
22134
cat >>conftest.$ac_ext <<_ACEOF
22135
/* end confdefs.h. */
22136
$ac_includes_default
22137
#include <$ac_header>
22139
rm -f conftest.$ac_objext
22140
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22141
(eval $ac_compile) 2>conftest.er1
22143
grep -v '^ *+' conftest.er1 >conftest.err
22145
cat conftest.err >&5
22146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147
(exit $ac_status); } &&
22148
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22149
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150
(eval $ac_try) 2>&5
22152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153
(exit $ac_status); }; } &&
22154
{ ac_try='test -s conftest.$ac_objext'
22155
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156
(eval $ac_try) 2>&5
22158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159
(exit $ac_status); }; }; then
22160
ac_header_compiler=yes
22162
echo "$as_me: failed program was:" >&5
22163
sed 's/^/| /' conftest.$ac_ext >&5
22165
ac_header_compiler=no
22167
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22168
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22169
echo "${ECHO_T}$ac_header_compiler" >&6
22171
# Is the header present?
22172
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22173
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22174
cat >conftest.$ac_ext <<_ACEOF
22177
cat confdefs.h >>conftest.$ac_ext
22178
cat >>conftest.$ac_ext <<_ACEOF
22179
/* end confdefs.h. */
22180
#include <$ac_header>
22182
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22183
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22185
grep -v '^ *+' conftest.er1 >conftest.err
22187
cat conftest.err >&5
22188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189
(exit $ac_status); } >/dev/null; then
22190
if test -s conftest.err; then
22191
ac_cpp_err=$ac_c_preproc_warn_flag
22192
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22199
if test -z "$ac_cpp_err"; then
22200
ac_header_preproc=yes
22202
echo "$as_me: failed program was:" >&5
22203
sed 's/^/| /' conftest.$ac_ext >&5
22205
ac_header_preproc=no
22207
rm -f conftest.err conftest.$ac_ext
22208
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22209
echo "${ECHO_T}$ac_header_preproc" >&6
22211
# So? What about this header?
22212
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22214
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22215
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22216
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22217
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22218
ac_header_preproc=yes
22221
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22222
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22223
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22224
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22225
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22226
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22227
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22228
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22229
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22230
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22231
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22232
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22235
## ------------------------------------------ ##
22236
## Report this to the AC_PACKAGE_NAME lists. ##
22237
## ------------------------------------------ ##
22240
sed "s/^/$as_me: WARNING: /" >&2
22243
echo "$as_me:$LINENO: checking for $ac_header" >&5
22244
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22245
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22246
echo $ECHO_N "(cached) $ECHO_C" >&6
22248
eval "$as_ac_Header=\$ac_header_preproc"
22250
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22251
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22254
if test `eval echo '${'$as_ac_Header'}'` = yes; then
22255
cat >>confdefs.h <<_ACEOF
22256
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22263
if test "x$ac_cv_header_mmreg_h" = xno ; then
22264
{ echo "$as_me:$LINENO: WARNING: ******************************************************************" >&5
22265
echo "$as_me: WARNING: ******************************************************************" >&2;}
22266
{ echo "$as_me:$LINENO: WARNING: *** Can't find mmreg.h which means that we can't build one of " >&5
22267
echo "$as_me: WARNING: *** Can't find mmreg.h which means that we can't build one of " >&2;}
22268
{ echo "$as_me:$LINENO: WARNING: *** the example programs. The library can however be built. " >&5
22269
echo "$as_me: WARNING: *** the example programs. The library can however be built. " >&2;}
22270
{ echo "$as_me:$LINENO: WARNING: *** To correct this, you can grab the mmreg.h file from the " >&5
22271
echo "$as_me: WARNING: *** To correct this, you can grab the mmreg.h file from the " >&2;}
22272
{ echo "$as_me:$LINENO: WARNING: *** WINE project (http://www.winehq.com/) and placing it in a " >&5
22273
echo "$as_me: WARNING: *** WINE project (http://www.winehq.com/) and placing it in a " >&2;}
22274
{ echo "$as_me:$LINENO: WARNING: *** directory where the cross compiler can find it. " >&5
22275
echo "$as_me: WARNING: *** directory where the cross compiler can find it. " >&2;}
22276
{ echo "$as_me:$LINENO: WARNING: ******************************************************************" >&5
22277
echo "$as_me: WARNING: ******************************************************************" >&2;}
22284
OS_SPECIFIC_LINKS="-lwinmm"
22281
22287
OS_SPECIFIC_INCLUDES=""