X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=configure.in;h=b2c19d8355d81133b40c718fd812bec806efe3ea;hp=4efaad3b199b140404f0cf7fb4a1c4f13e7f5e1e;hb=65a64e4e54688d6c20405472aad7810118a00147;hpb=6404682526633f7f2b9a2f94071d802b7b50dd07 diff --git a/configure.in b/configure.in index 4efaad3..b2c19d8 100644 --- a/configure.in +++ b/configure.in @@ -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"