Changeset 468
- Timestamp:
- 05/14/04 18:18:49 (4 years ago)
- Files:
-
- wired/branches/unlabeled-1.7.2/configure (modified) (14 diffs)
- wired/branches/unlabeled-1.7.2/configure.in (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wired/branches/unlabeled-1.7.2/configure
r420 r468 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.57 for wired 1. 1.3 # Generated by GNU Autoconf 2.57 for wired 1.2. 4 4 # 5 5 # Report bugs to <axel@zankasoftware.com>. … … 269 269 PACKAGE_NAME='wired' 270 270 PACKAGE_TARNAME='wired' 271 PACKAGE_VERSION='1. 1'272 PACKAGE_STRING='wired 1. 1'271 PACKAGE_VERSION='1.2' 272 PACKAGE_STRING='wired 1.2' 273 273 PACKAGE_BUGREPORT='axel@zankasoftware.com' 274 274 … … 780 780 # This message is too long to be a string in the A/UX 3.1 sh. 781 781 cat <<_ACEOF 782 \`configure' configures wired 1. 1to adapt to many kinds of systems.782 \`configure' configures wired 1.2 to adapt to many kinds of systems. 783 783 784 784 Usage: $0 [OPTION]... [VAR=VALUE]... … … 841 841 if test -n "$ac_init_help"; then 842 842 case $ac_init_help in 843 short | recursive ) echo "Configuration of wired 1. 1:";;843 short | recursive ) echo "Configuration of wired 1.2:";; 844 844 esac 845 845 cat <<\_ACEOF … … 928 928 if $ac_init_version; then 929 929 cat <<\_ACEOF 930 wired configure 1. 1930 wired configure 1.2 931 931 generated by GNU Autoconf 2.57 932 932 … … 943 943 running configure, to aid debugging if configure makes a mistake. 944 944 945 It was created by wired $as_me 1. 1, which was945 It was created by wired $as_me 1.2, which was 946 946 generated by GNU Autoconf 2.57. Invocation command line was 947 947 … … 1368 1368 1369 1369 cat >>confdefs.h <<\_ACEOF 1370 #define WD_PACKAGE_VERSION "1. 1"1370 #define WD_PACKAGE_VERSION "1.2" 1371 1371 _ACEOF 1372 1372 1373 1373 1374 1374 cat >>confdefs.h <<\_ACEOF 1375 #define WD_PROTOCOL_VERSION "1. 0"1375 #define WD_PROTOCOL_VERSION "1.1" 1376 1376 _ACEOF 1377 1377 … … 1388 1388 1389 1389 # These are used in the Makefile 1390 WD_PACKAGE_VERSION="1. 1"1390 WD_PACKAGE_VERSION="1.2" 1391 1391 1392 1392 … … 2372 2372 2373 2373 ####################################################################### 2374 # configureflags2374 # Check flags 2375 2375 2376 2376 # Check for some other user to use than "wired" … … 4301 4301 _ACEOF 4302 4302 4303 echo "$as_me:$LINENO: checking for iconv_open" >&5 4304 echo $ECHO_N "checking for iconv_open... $ECHO_C" >&6 4305 if test "${ac_cv_func_iconv_open+set}" = set; then 4306 echo $ECHO_N "(cached) $ECHO_C" >&6 4307 else 4308 cat >conftest.$ac_ext <<_ACEOF 4309 #line $LINENO "configure" 4310 /* confdefs.h. */ 4311 _ACEOF 4312 cat confdefs.h >>conftest.$ac_ext 4313 cat >>conftest.$ac_ext <<_ACEOF 4314 /* end confdefs.h. */ 4315 /* System header to define __stub macros and hopefully few prototypes, 4316 which can conflict with char iconv_open (); below. 4317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4318 <limits.h> exists even on freestanding compilers. */ 4319 #ifdef __STDC__ 4320 # include <limits.h> 4321 #else 4322 # include <assert.h> 4323 #endif 4324 /* Override any gcc2 internal prototype to avoid an error. */ 4325 #ifdef __cplusplus 4326 extern "C" 4327 { 4328 #endif 4329 /* We use char because int might match the return type of a gcc2 4330 builtin and then its argument prototype would still apply. */ 4331 char iconv_open (); 4332 /* The GNU C library defines this for functions which it implements 4333 to always fail with ENOSYS. Some functions are actually named 4334 something starting with __ and the normal name is an alias. */ 4335 #if defined (__stub_iconv_open) || defined (__stub___iconv_open) 4336 choke me 4337 #else 4338 char (*f) () = iconv_open; 4339 #endif 4340 #ifdef __cplusplus 4341 } 4342 #endif 4343 4344 int 4345 main () 4346 { 4347 return f != iconv_open; 4348 ; 4349 return 0; 4350 } 4351 _ACEOF 4352 rm -f conftest.$ac_objext conftest$ac_exeext 4353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4354 (eval $ac_link) 2>&5 4355 ac_status=$? 4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 (exit $ac_status); } && 4358 { ac_try='test -s conftest$ac_exeext' 4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4360 (eval $ac_try) 2>&5 4361 ac_status=$? 4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 (exit $ac_status); }; }; then 4364 ac_cv_func_iconv_open=yes 4365 else 4366 echo "$as_me: failed program was:" >&5 4367 sed 's/^/| /' conftest.$ac_ext >&5 4368 4369 ac_cv_func_iconv_open=no 4370 fi 4371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4372 fi 4373 echo "$as_me:$LINENO: result: $ac_cv_func_iconv_open" >&5 4374 echo "${ECHO_T}$ac_cv_func_iconv_open" >&6 4375 if test $ac_cv_func_iconv_open = yes; then 4376 : 4377 else 4378 4379 echo "$as_me:$LINENO: checking for main in -liconv" >&5 4303 echo "$as_me:$LINENO: checking for main in -liconv" >&5 4380 4304 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 4381 4305 if test "${ac_cv_lib_iconv_main+set}" = set; then … … 4427 4351 if test $ac_cv_lib_iconv_main = yes; then 4428 4352 4429 LIBS="$LIBS -liconv" 4430 4431 else 4432 4433 { { echo "$as_me:$LINENO: error: could not locate libiconv" >&5 4353 LIBS="$LIBS -liconv" 4354 echo "$as_me:$LINENO: checking if iconv understands Unicode and MacRoman" >&5 4355 echo $ECHO_N "checking if iconv understands Unicode and MacRoman... $ECHO_C" >&6 4356 if test "$cross_compiling" = yes; then 4357 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 4358 See \`config.log' for more details." >&5 4359 echo "$as_me: error: cannot run test program while cross compiling 4360 See \`config.log' for more details." >&2;} 4361 { (exit 1); exit 1; }; } 4362 else 4363 cat >conftest.$ac_ext <<_ACEOF 4364 #line $LINENO "configure" 4365 /* confdefs.h. */ 4366 _ACEOF 4367 cat confdefs.h >>conftest.$ac_ext 4368 cat >>conftest.$ac_ext <<_ACEOF 4369 /* end confdefs.h. */ 4370 4371 #include <iconv.h> 4372 int main(void) { 4373 iconv_t conv = iconv_open("UTF-8", "MacRoman"); 4374 if(conv == (iconv_t) -1) 4375 return 1; 4376 return 0; 4377 } 4378 4379 _ACEOF 4380 rm -f conftest$ac_exeext 4381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4382 (eval $ac_link) 2>&5 4383 ac_status=$? 4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4387 (eval $ac_try) 2>&5 4388 ac_status=$? 4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4390 (exit $ac_status); }; }; then 4391 4392 echo "$as_me:$LINENO: result: yes" >&5 4393 echo "${ECHO_T}yes" >&6 4394 4395 else 4396 echo "$as_me: program exited with status $ac_status" >&5 4397 echo "$as_me: failed program was:" >&5 4398 sed 's/^/| /' conftest.$ac_ext >&5 4399 4400 ( exit $ac_status ) 4401 4402 { { echo "$as_me:$LINENO: error: no" >&5 4403 echo "$as_me: error: no" >&2;} 4404 { (exit 1); exit 1; }; } 4405 4406 fi 4407 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4408 fi 4409 4410 else 4411 4412 { { echo "$as_me:$LINENO: error: could not locate libiconv" >&5 4434 4413 echo "$as_me: error: could not locate libiconv" >&2;} 4435 4414 { (exit 1); exit 1; }; } … … 4437 4416 fi 4438 4417 4439 4440 fi4441 4442 4443 else4444 4445 { { echo "$as_me:$LINENO: error: could not locate libiconv" >&54446 echo "$as_me: error: could not locate libiconv" >&2;}4447 { (exit 1); exit 1; }; }4448 4418 4449 4419 fi … … 7722 7692 cat >&5 <<_CSEOF 7723 7693 7724 This file was extended by wired $as_me 1. 1, which was7694 This file was extended by wired $as_me 1.2, which was 7725 7695 generated by GNU Autoconf 2.57. Invocation command line was 7726 7696 … … 7782 7752 cat >>$CONFIG_STATUS <<_ACEOF 7783 7753 ac_cs_version="\\ 7784 wired config.status 1. 17754 wired config.status 1.2 7785 7755 configured by $0, generated by GNU Autoconf 2.57, 7786 7756 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" wired/branches/unlabeled-1.7.2/configure.in
r420 r468 1 1 # Process this file with autoconf to produce a configure script 2 AC_INIT(wired, 1. 1, axel@zankasoftware.com)2 AC_INIT(wired, 1.2, axel@zankasoftware.com) 3 3 AC_PREREQ(2.57) 4 4 AC_CONFIG_SRCDIR([config.h.in]) … … 10 10 # These are used in the source code 11 11 AC_DEFINE(WD_PACKAGE_VERSION, "AC_PACKAGE_VERSION", Application version) 12 AC_DEFINE(WD_PROTOCOL_VERSION, "1. 0", Protocol version)12 AC_DEFINE(WD_PROTOCOL_VERSION, "1.1", Protocol version) 13 13 AC_DEFINE(WD_BUGREPORT, "AC_PACKAGE_BUGREPORT", Maintainer's email address) 14 14 AC_DEFINE_UNQUOTED(WD_CPU, "$host_cpu", Host CPU) … … 27 27 28 28 ####################################################################### 29 # configureflags29 # Check flags 30 30 31 31 # Check for some other user to use than "wired" … … 145 145 # Check for the iconv library 146 146 AC_CHECK_HEADERS([iconv.h], [ 147 AC_CHECK_FUNC(iconv_open, [], [ 148 AC_CHECK_LIB(iconv, main, [ 149 LIBS="$LIBS -liconv" 147 AC_CHECK_LIB(iconv, main, [ 148 LIBS="$LIBS -liconv" 149 AC_MSG_CHECKING([if iconv understands Unicode and MacRoman]) 150 AC_TRY_RUN([ 151 #include <iconv.h> 152 int main(void) { 153 iconv_t conv = iconv_open("UTF-8", "MacRoman"); 154 if(conv == (iconv_t) -1) 155 return 1; 156 return 0; 157 } 150 158 ], [ 151 AC_MSG_ERROR([could not locate libiconv]) 152 ]) 159 AC_MSG_RESULT([yes]) 160 ], [ 161 AC_MSG_ERROR([no]) 162 ]) 163 ], [ 164 AC_MSG_ERROR([could not locate libiconv]) 153 165 ]) 154 ], [155 AC_MSG_ERROR([could not locate libiconv])156 166 ]) 157 167
