1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04:00

don't use which - cygwin doesn't have it

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1428 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-28 21:23:13 +00:00 committed by cras
parent 857664bb43
commit feab6175dc

View File

@ -130,18 +130,13 @@ AC_ARG_ENABLE(perl,
fi, fi,
want_perl=yes) want_perl=yes)
AC_ARG_WITH(servertest, AC_ARG_WITH(tests,
[ --with-servertest Build servertest], [ --with-tests Run all the tests],
if test x$withval = xyes; then if test x$withval != xno; then
want_servertest=yes TEST_DIR=test
else
if test "x$withval" = xno; then
want_servertest=no
else
want_servertest=yes
fi
fi, fi,
want_servertest=no) TEST_DIR=)
AC_SUBST(TEST_DIR)
AC_ARG_ENABLE(curses-windows, AC_ARG_ENABLE(curses-windows,
[ --enable-curses-windows Use curses windows], [ --enable-curses-windows Use curses windows],
@ -314,10 +309,10 @@ if test "x$GLIB_DIR" = "x"; then
glib_file=glib-1.2.9.tar.gz glib_file=glib-1.2.9.tar.gz
dlcmd= dlcmd=
if test -f "`which ncftpget`"; then if [ "x`ncftpget 2>/dev/null|grep -i ncftp`" != "x" ]; then
dlcmd="ncftpget ftp://ftp.gtk.org/pub/gtk/v1.2/$glib_file" dlcmd="ncftpget ftp://ftp.gtk.org/pub/gtk/v1.2/$glib_file"
fi fi
if test -f "`which wget`"; then if [ "x`wget 2>/dev/null|grep -i wget`" != "x" ]; then
dlcmd="wget http://irssi.org/files/$glib_file" dlcmd="wget http://irssi.org/files/$glib_file"
fi fi
if test "x$dlcmd" != "x"; then if test "x$dlcmd" != "x"; then
@ -586,7 +581,7 @@ AM_CONDITIONAL(BUILD_TEXTUI, test "$want_textui" = "yes")
AM_CONDITIONAL(BUILD_IRSSIBOT, test "$want_irssibot" = "yes") AM_CONDITIONAL(BUILD_IRSSIBOT, test "$want_irssibot" = "yes")
AM_CONDITIONAL(BUILD_IRSSIPROXY, test "$want_irssiproxy" = "yes") AM_CONDITIONAL(BUILD_IRSSIPROXY, test "$want_irssiproxy" = "yes")
AM_CONDITIONAL(BUILD_PLUGINS, test "$want_plugins" = "yes") AM_CONDITIONAL(BUILD_PLUGINS, test "$want_plugins" = "yes")
AM_CONDITIONAL(BUILD_SERVERTEST, test "$want_servertest" = "yes") AM_CONDITIONAL(BUILD_SERVERTEST, test "x$TEST_DIR" != "x")
AM_CONDITIONAL(HAVE_PERL, test "$want_perl" != "no") AM_CONDITIONAL(HAVE_PERL, test "$want_perl" != "no")
AM_CONDITIONAL(HAVE_STATIC_PERL, test "$want_perl" = "static") AM_CONDITIONAL(HAVE_STATIC_PERL, test "$want_perl" = "static")
@ -702,6 +697,7 @@ po/Makefile.in
intl/Makefile intl/Makefile
src/Makefile src/Makefile
src/lib/Makefile src/lib/Makefile
src/lib/test/Makefile
src/core/Makefile src/core/Makefile
src/irc/Makefile src/irc/Makefile
src/irc/core/Makefile src/irc/core/Makefile