Diff

Differences From Artifact [5f3b54111a]:

To Artifact [a823c6235c]:


    28     28   ])
    29     29   AC_MSG_RESULT([$TARGET])
    30     30   
    31     31   dnl Find the appropriate libraries to link to
    32     32   AC_SEARCH_LIBS(acos, m,, [ AC_MSG_WARN([Couldn't find acos (normally in libm)!]) ])
    33     33   AC_SEARCH_LIBS(dlsym, dl,, [ AC_MSG_WARN([Couldn't find dlsym (normally in libdl)!]) ])
    34     34   
    35         -if test "x$TARGET" = "tclkit"; then
           35  +if test "$TARGET" = "tclkit"; then
    36     36   	dnl Figure out how to statically link to libgcc, if needed
    37     37   	DC_STATIC_LIBGCC
    38     38   else
    39     39   	dnl We have KitDLL
    40     40   
    41     41   	dnl Determine system information
    42     42   	DC_CHK_OS_INFO
................................................................................
    96     96   AC_ARG_WITH(zlib, AC_HELP_STRING([--with-zlib], [directory containing zlib]), [
    97     97   	CPPFLAGS="${CPPFLAGS} -I${with_zlib}/include -I${with_zlib}"
    98     98   	CFLAGS="${CFLAGS} -I${with_zlib}/include -I${with_zlib}"
    99     99   	LDFLAGS="${LDFLAGS} -L${with_zlib}/lib -L${with_zlib}"
   100    100   ])
   101    101   
   102    102   dnl Only needed for Tclkit
   103         -if test "x$TARGET" = "tclkit"; then
          103  +if test "$TARGET" = "tclkit"; then
   104    104   	DC_DO_STATIC_LINK_LIB(zlib, -lz,, [
   105    105   		DC_DO_STATIC_LINK_LIB(zlib, -lzlib,, [
   106    106   			AC_SEARCH_LIBS(inflate, z zlib,, [
   107    107   				AC_MSG_WARN([Couldn't find inflate (normally in zlib)!])
   108    108   			])
   109    109   		])
   110    110   	])
................................................................................
   149    149   			AC_MSG_ERROR([Unknown kit storage type: $enableval])
   150    150   			;;
   151    151   	esac
   152    152   ])
   153    153   AC_MSG_RESULT([$storage_mech])
   154    154   
   155    155   dnl Verify sanity of storage mechanism
   156         -if ! test "x$TARGET" = "tclkit"; then
          156  +if ! test "$TARGET" = "tclkit"; then
   157    157   	case "$storage_mech" in
   158    158   		auto|cvfs)
   159    159   			true
   160    160   			;;
   161    161   		*)
   162    162   			AC_MSG_ERROR([Only "cvfs" and "auto" are valid storage mechanisms when building KitDLL])
   163    163   			;;