X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Smake;h=47821265bce4796e052d8fe2789939fc4e0e7b8e;hb=7e413bbdf7b01f2ff0153c8cbf79c2e4fa71f4d5;hp=72fdce676cff8ed174bd374a9df123c6f0b90d4e;hpb=ae24e51223fb3359eea897dacc405798e7e09524;p=pspp diff --git a/Smake b/Smake index 72fdce676c..47821265bc 100644 --- a/Smake +++ b/Smake @@ -71,6 +71,7 @@ GNULIB_MODULES = \ stdarg \ stdbool \ stdint \ + strcasestr \ stpcpy \ strerror \ strftime \ @@ -129,7 +130,15 @@ prep_ph: --source-base=gl --lib=libgl --tests-base=tests \ --doc-base=gl/doc --aux-dir=build-aux \ --libtool $(GNULIB_MODULES) - libtoolize --force --automake + if (glibtoolize --version) >/dev/null 2>&1; then \ + LIBTOOLIZE=glibtoolize; \ + elif (libtoolize --version) >/dev/null 2>&1; then \ + LIBTOOLIZE=libtoolize; \ + else \ + echo >&2 "libtoolize not found"; \ + exit 1; \ + fi; \ + $$LIBTOOLIZE --force --automake aclocal.m4: aclocal -I m4 -I gl/m4