X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Smake;h=47821265bce4796e052d8fe2789939fc4e0e7b8e;hb=da69d65f768982cea831779a74a47dfc95f89de6;hp=a404de41e844a8e0db0ddf1899da41d37b25ec53;hpb=1a22a807e81d565483d7bada25c463e91f1164cc;p=pspp diff --git a/Smake b/Smake index a404de41e8..47821265bc 100644 --- a/Smake +++ b/Smake @@ -54,6 +54,7 @@ GNULIB_MODULES = \ minmax \ mkdtemp \ mkstemp \ + pipe2 \ printf-posix \ printf-safe \ progname \ @@ -63,12 +64,14 @@ GNULIB_MODULES = \ relocatable-prog \ rename \ round \ + select \ snprintf \ snprintf-posix \ sprintf-posix \ stdarg \ stdbool \ stdint \ + strcasestr \ stpcpy \ strerror \ strftime \ @@ -127,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