r65: *** empty log message ***
[ctsim.git] / configure.in
index 4efaad3b199b140404f0cf7fb4a1c4f13e7f5e1e..b2c19d8355d81133b40c718fd812bec806efe3ea 100644 (file)
@@ -76,12 +76,12 @@ AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(strtod strtol snprintf htonl)
 AC_CHECK_FUNC(basename)
 AC_CHECK_FUNC(setjmp)
-if ${OSTYPE} == "cygwin" ; then
+if test "${OSTYPE}" = "cygwin" ; then
   getopt_long=false
 else
   AC_CHECK_FUNC(getopt_long, [ getopt_long=true ], [ getopt_long=false ])
 fi
-if test getopt_long == "false" ; then
+if test "${getopt_long}" = "false" ; then
   my_includes="$myincludes -I../getopt"
   AC_DEFINE(HAVE_GETOPT_LONG)
   ctlibs_base="$ctlibs_base -lgetopt"