test for strings with test
This commit is contained in:
@@ -45,7 +45,7 @@ AC_ARG_VAR([GENGETOPT],
|
|||||||
AC_PATH_PROG(GENGETOPT, gengetopt, not found)
|
AC_PATH_PROG(GENGETOPT, gengetopt, not found)
|
||||||
if test ! -r src/cmdline.h -o ! -r src/cmdline.c
|
if test ! -r src/cmdline.h -o ! -r src/cmdline.c
|
||||||
then
|
then
|
||||||
if "${GENGETOPT}" = "not found"
|
if test "${GENGETOPT}" = "not found"
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([Need gengetopt for parsing command line of npa-tool])
|
AC_MSG_ERROR([Need gengetopt for parsing command line of npa-tool])
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ AC_ARG_VAR([GENGETOPT],
|
|||||||
AC_PATH_PROG(GENGETOPT, gengetopt, not found)
|
AC_PATH_PROG(GENGETOPT, gengetopt, not found)
|
||||||
if test ! -r src/cmdline.h -o ! -r src/cmdline.c
|
if test ! -r src/cmdline.h -o ! -r src/cmdline.c
|
||||||
then
|
then
|
||||||
if "${GENGETOPT}" = "not found"
|
if test "${GENGETOPT}" = "not found"
|
||||||
then
|
then
|
||||||
AC_MSG_ERROR([Need gengetopt for parsing command line of pcsc-relay])
|
AC_MSG_ERROR([Need gengetopt for parsing command line of pcsc-relay])
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user