configure.in revision 59118
1dnl configure.in: Input for Autoconf
2dnl
3dnl %%% portions-copyright-cmetz-96
4dnl Portions of this software are Copyright 1996-1998 by Craig Metz, All Rights
5dnl Reserved. The Inner Net License Version 2 applies to these portions of
6dnl the software.
7dnl You should have received a copy of the license with this software. If
8dnl you didn't get a copy, you may request one from <license@inner.net>.
9dnl
10dnl Portions of this software are Copyright 1995 by Randall Atkinson and Dan
11dnl McDonald, All Rights Reserved. All Rights under this copyright are assigned
12dnl to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and
13dnl License Agreement applies to this software.   
14dnl
15dnl	History:
16dnl
17dnl	Modified by cmetz for OPIE 2.32. Substitute default for LOCK_DIR.
18dnl	     Fix the --disable-user-locking bug. AC_DEFINE variables to 1.
19dnl          Really check for ut_host.
20dnl	Modified by cmetz for OPIE 2.31. Put back manual utmp[x]/wtmp[x]
21dnl          checks -- too many OSs can't be trusted to tell us where they are.
22dnl	     Check for sys/select.h. Spell endutent right. Replace strtoul()
23dnl	     if needed. Removed duplicate check for sysconf. Added check for
24dnl          SunOS C2 shadow passwords (may need more work). Replace
25dnl          setutent. Added options to disable use of utmp/wtmp. Replace
26dnl          seteuid and setegid. Check for usleep. Moved options.h options
27dnl          here as enable/disable options.
28dnl     Modified by cmetz for OPIE 2.3. Removed redundant memset/memcpy.
29dnl	     Changed ls -g test around. Changed logindevperm/fbtab defines.
30dnl	     Added check for /etc/environment and /etc/src.sh. Check for
31dnl          /var/adm/sulog. Check for {get,put}utxline, provide libmissing
32dnl          versionf of {get,put}utline. Added --enable option for anonymous
33dnl          FTP. Got rid of a few unneeded checks. Check for functions only
34dnl	     used by libmissing only if the replacement function that needs
35dnl	     them is itself needed.
36dnl	Modified by cmetz for OPIE 2.22. Check for Solaris drain bamaged ls.
37dnl          Check for setlogin(). Removed duplicate checks for some funcs.
38dnl     Modified by cmetz for OPIE 2.21. Filename must be in utmp[x]/wtmp[x]
39dnl          defines.
40dnl     Modified by cmetz for OPIE 2.2. Misc changes. Changed for libmissing
41dnl          support and building its target object list. Changed to support
42dnl          FUNCTION declaration et al. Added a LOT of checks and a LOT of
43dnl          fixes.
44dnl	Created at NRL for OPIE 2.1.
45
46AC_INIT(README)
47AC_CONFIG_HEADER(config.h)
48AC_ARG_ENABLE(access-file, [  --enable-access-file=FILENAME
49                          Enable the OPIE access file FILENAME], AC_DEFINE_UNQUOTED(PATH_ACCESS_FILE, "$enable_access_file") echo "Using the access file in $enable_access_file -- don't say we didn't warn you!")
50ACCESS_FILE="$enable_access_file"
51AC_SUBST(ACCESS_FILE)
52AC_ARG_ENABLE(server-md4, [  --enable-server-md4     Use MD4 instead of MD5 for the server], AC_DEFINE(MDX, 4), AC_DEFINE(MDX, 5))
53
54AC_ARG_ENABLE(user-locking, [  --disable-user-locking  Disable user locking
55  --enable-user-locking[=DIR]
56                          Put user lock files in DIR [/etc/opielocks]],,)
57if test "$enable_user_locking" != no;
58then
59  if test -z "$enable_user_locking"
60  then
61    AC_DEFINE(OPIE_LOCK_DIR, "/etc/opielocks")
62    LOCK_DIR="/etc/opielocks"
63  else
64    AC_DEFINE_UNQUOTED(OPIE_LOCK_DIR, "$enable_user_locking")
65    LOCK_DIR="$enable_user_locking"
66  fi
67fi
68AC_SUBST(LOCK_DIR)
69
70AC_ARG_ENABLE(retype, [  --enable-retype         Ask users to re-type their secret pass phrases], AC_DEFINE(RETYPE, 1))
71AC_ARG_ENABLE(su-star-check, [  --enable-su-star-check  Refuse to switch to disabled accounts], AC_DEFINE(SU_STAR_CHECK, 1))
72AC_ARG_ENABLE(new-prompts, [  --disable-new-prompts   Use more compatible (but less informative) prompts],, AC_DEFINE(NEW_PROMPTS, 1))
73AC_ARG_ENABLE(insecure-override, [  --enable-insecure-override
74                          Allow users to override insecure checks], AC_DEFINE(INSECURE_OVERRIDE, 1))
75AC_ARG_ENABLE(anonymous-ftp, [  --enable-anonymous-ftp  Enable anonymous FTP support], AC_DEFINE(DOANONYMOUS, 1) echo "Enabling anonymous FTP support in ftp -- don't say we didn't warn you!")
76AC_ARG_ENABLE(utmp, [  --disable-utmp          Disable utmp logging], AC_DEFINE(DISABLE_UTMP, 1) echo "Disabling utmp logging")
77AC_ARG_ENABLE(wtmp, [  --disable-wtmp          Disable wtmp logging], AC_DEFINE(DISABLE_UTMP, 1) echo "Disabling wtmp logging")
78
79dnl Checks for programs.
80AC_PROG_CC
81AC_PROG_CPP
82AC_PROG_LN_S
83AC_PROG_RANLIB
84AC_PROG_YACC
85
86AC_AIX
87AC_ISC_POSIX
88AC_MINIX
89
90dnl We'd put PATH in these checks, but it turns out that autoconf doesn't
91dnl work as documented when it comes to the colon separator...
92
93AC_PATH_PROG(CHOWN, chown, /bin/chown, /usr/bin /bin /usr/sbin /sbin /usr/etc /etc)
94
95AC_PATH_PROG(SU, su, /bin/su, /usr/bin /bin)
96AC_PATH_PROG(ALT_SU, su,, /usr/sbin /sbin)
97
98AC_PATH_PROG(SCHEME, scheme,, /usr/lib/iaf/scheme)
99AC_PATH_PROG(LOGIN, login, /bin/login, /usr/bin /bin)
100dnl AC_DEFINE_UNQUOTED(PATH_LOGIN, "$LOGIN")
101
102if test ! -z "$SCHEME";
103then
104	LOGIN="$SCHEME";
105fi
106
107AC_PATH_PROG(FTPD, ftpd,, /usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin)
108AC_PATH_PROG(INFTPD, in.ftpd,, /usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin)
109
110if test -z "$FTPD"
111then
112	if test ! -z "$INFTPD"
113	then
114		FTPD="$INFTPD"
115	fi
116fi
117
118AC_MSG_CHECKING(for default PATH entries)
119default_path=""
120save_IFS="$IFS"
121IFS=" "
122for i in /usr/bin /bin /usr/ucb /usr/sbin /usr/bsd /sbin /usr/bin/X11 /etc /usr/local/X11/bin /usr/X11R6/bin /your-system-is-broken
123do
124	IFS=":"
125	for j in $PATH
126	do
127		if test "$i" = "$j"
128		then
129			if test -d "$i"
130			then
131				if test -z "$default_path"
132				then
133					default_path="$i"
134				else
135					default_path="$default_path:$i"
136				fi
137			fi
138		fi
139	done
140	IFS=" "
141done
142AC_DEFINE_UNQUOTED(DEFAULT_PATH, "$default_path")
143AC_MSG_RESULT($default_path)
144
145AC_MSG_CHECKING(for test -e flag)
146if sh config.testeflag
147then
148	result=yes
149	EXISTS="-e"
150else
151	result=no
152	EXISTS="-f"
153fi
154AC_SUBST(EXISTS)
155AC_MSG_RESULT($result)
156
157AC_MSG_CHECKING(for mkdir -p flag)
158if test -d config.tmpdir
159then
160	rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
161	rmdir config.tmpdir/foo >/dev/null 2>/dev/null
162	rmdir config.tmpdir >/dev/null 2>/dev/null
163fi
164
165result=no
166if mkdir -p config.tmpdir/foo/bar >/dev/null 2>/dev/null
167then
168	if test -d config.tmpdir
169	then
170		if test -d config.tmpdir/foo
171		then
172			if test -d config.tmpdir/foo/bar
173			then
174				result=yes
175				rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
176			fi
177			rmdir config.tmpdir/foo >/dev/null 2>/dev/null
178		fi
179		rmdir config.tmpdir >/dev/null 2>/dev/null
180	fi
181fi
182
183if test "$result" = yes
184then
185	MKDIR="mkdir -p"
186else
187	MKDIR="mkdir"
188fi
189AC_SUBST(MKDIR)
190AC_MSG_RESULT($result)
191
192AC_MSG_CHECKING(for ls group field)
193lsg=`/bin/ls -ldg / | wc -w | awk '{print $1}'`;
194ls=`/bin/ls -ld / | wc -w | awk '{print $1}'`;
195result="no"
196if test $ls = 9;
197then
198	result="yes"
199else
200	if test "$ls" = 8 -a "$lsg" = 9;
201	then
202		result="yes, with -g"
203		AC_DEFINE(HAVE_LS_G_FLAG)
204	fi
205fi
206AC_MSG_RESULT($result)
207
208dnl Checks for various system characteristics
209AC_MSG_CHECKING(for /etc/default/login)
210if test $EXISTS /etc/default/login
211then
212	result=yes
213	AC_DEFINE(HAVE_ETC_DEFAULT_LOGIN)
214else
215	result=no
216fi
217AC_MSG_RESULT($result)
218
219AC_MSG_CHECKING(for /etc/securetty)
220if test $EXISTS /etc/securetty
221then
222	result=yes
223	AC_DEFINE(HAVE_SECURETTY)
224else
225	result=no
226fi
227AC_MSG_RESULT($result)
228
229AC_MSG_CHECKING(for /etc/logindevperm)
230if test $EXISTS /etc/logindevperm
231then
232	AC_MSG_RESULT(yes)
233	AC_DEFINE(HAVE_LOGIN_PERMFILE, "/etc/logindevperm")
234else
235	AC_MSG_RESULT(no)
236
237	AC_MSG_CHECKING(for /etc/fbtab)
238	if test $EXISTS /etc/fbtab
239	then
240		result=yes
241		AC_DEFINE(HAVE_LOGIN_PERMFILE, "/etc/fbtab")
242	else
243		result=no
244	fi
245	AC_MSG_RESULT($result)
246fi
247
248AC_MSG_CHECKING(for /etc/environment)
249if test $EXISTS /etc/environment
250then
251	AC_MSG_RESULT(yes)
252	AC_DEFINE(HAVE_LOGIN_ENVFILE, "/etc/environment")
253else
254	AC_MSG_RESULT(no)
255
256	AC_MSG_CHECKING(for /etc/src.sh)
257	if test $EXISTS /etc/src.sh
258	then
259		result=yes
260		AC_DEFINE(HAVE_LOGIN_ENVFILE, "/etc/src.sh")
261	else
262		result=no
263	fi
264	AC_MSG_RESULT($result)
265fi
266
267AC_MSG_CHECKING(for /etc/shadow)
268if test $EXISTS /etc/shadow
269then
270	result=yes
271	AC_DEFINE(HAVE_ETC_SHADOW)
272else
273	AC_MSG_RESULT(no)
274
275	AC_MSG_CHECKING(for /etc/security/passwd.adjunct)
276	if test $EXISTS /etc/security/passwd.adjunct
277	then
278		result=yes
279		AC_DEFINE(HAVE_SUNOS_C2_SHADOW)
280		LIBOBJS="$LIBOBJS getspnam.o endspent.o"
281	else
282		result=no
283	fi
284fi
285AC_MSG_RESULT($result)
286
287AC_MSG_CHECKING(for /var/adm/sulog)
288if test $EXISTS /var/adm/sulog
289then
290	result=yes
291	AC_DEFINE(HAVE_SULOG)
292else
293	result=no
294fi
295AC_MSG_RESULT($result)
296
297AC_MSG_CHECKING(mail spool location)
298mail_spool=""
299for i in /var/mail /usr/mail /var/spool/mail /usr/spool/mail
300do
301	if test -d $i
302	then
303		mail_spool="$i"
304	fi
305done
306if test -z "$mail_spool"
307then
308	result="not found"
309else
310	result="$mail_spool"
311	AC_DEFINE_UNQUOTED(PATH_MAIL, "$mail_spool")
312fi
313AC_MSG_RESULT($result)
314
315AC_MSG_CHECKING(where your system puts the utmp file)
316utmp_path=""
317for i in /var/run /var/adm /usr/adm /etc
318do
319	if test $EXISTS $i/utmp
320	then
321		utmp_path="$i"
322	fi
323done
324if test -z "$utmp_path"
325then
326	result="not found"
327else
328	result="$utmp_path"
329	AC_DEFINE_UNQUOTED(PATH_UTMP_AC, "$utmp_path/utmp")
330fi
331AC_MSG_RESULT($result)
332
333AC_MSG_CHECKING(where your system puts the utmpx file)
334utmp_path=""
335for i in /var/run /var/adm /usr/adm /etc
336do
337	if test $EXISTS $i/utmp
338	then
339		utmp_path="$i"
340	fi
341done
342if test -z "$utmp_path"
343then
344	result="not found"
345	AC_DEFINE_UNQUOTED(PATH_UTMP_AC, "$utmp_path/utmpx")
346fi
347AC_MSG_RESULT($result)
348
349AC_MSG_CHECKING(where your system puts the wtmp file)
350wtmp_path=""
351for i in /var/run /var/log /var/adm /usr/adm /etc
352do
353	if test $EXISTS $i/wtmp
354	then
355		wtmp_path="$i"
356	fi
357done
358if test -z "$wtmp_path"
359then
360	result="not found"
361else
362	result="$wtmp_path"
363	AC_DEFINE_UNQUOTED(PATH_WTMP_AC, "$wtmp_path/wtmp")
364fi
365AC_MSG_RESULT($result)
366
367AC_MSG_CHECKING(where your system puts the wtmpx file)
368wtmpx_path=""
369for i in /var/run /var/log /var/adm /usr/adm /etc
370do
371	if test $EXISTS $i/wtmpx
372	then
373		wtmpx_path="$i"
374	fi
375done
376if test -z "$wtmpx_path"
377then
378	result="not found"
379else
380	result="$wtmpx_path"
381	AC_DEFINE_UNQUOTED(PATH_WTMPX_AC, "$wtmpx_path/wtmpx")
382fi
383AC_MSG_RESULT($result)
384
385AC_MSG_CHECKING(whether the system profile displays the motd)
386result=no
387if test $EXISTS /etc/profile
388then
389	if grep motd /etc/profile >/dev/null 2>/dev/null
390	then
391		result=yes
392	fi
393fi
394if test "$result" = yes
395then
396	AC_DEFINE(HAVE_MOTD_IN_PROFILE)
397fi
398AC_MSG_RESULT($result)
399
400AC_MSG_CHECKING(whether the system profile checks for mail)
401result=no
402if test $EXISTS /etc/profile
403then
404	if grep 'mail\.' /etc/profile >/dev/null 2>/dev/null
405	then
406		result=yes
407	fi
408fi
409if test "$result" = yes
410then
411	AC_DEFINE(HAVE_MAILCHECK_IN_PROFILE)
412fi
413AC_MSG_RESULT($result)
414
415dnl Random checks
416AC_C_CONST
417
418AC_MSG_CHECKING(to see if your compiler can handle void arguments)
419AC_TRY_COMPILE(foo(void) { },, AC_DEFINE(HAVE_VOIDARG) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
420
421AC_MSG_CHECKING(to see if your compiler can handle void return values)
422AC_TRY_COMPILE(void foo() { },, AC_DEFINE(HAVE_VOIDRET) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
423
424AC_MSG_CHECKING(to see if your compiler can handle void pointers)
425AC_TRY_COMPILE(foo() { void *bar = (void *)0x42; bar = bar + 1; },, AC_DEFINE(HAVE_VOIDPTR) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
426
427AC_MSG_CHECKING(to see if your compiler can handle ANSI argument lists)
428AC_TRY_COMPILE(int foo(int bar, int baz) { return 0; },, AC_DEFINE(HAVE_ANSIDECL) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
429
430AC_MSG_CHECKING(to see if your compiler can handle ANSI prototypes)
431AC_TRY_COMPILE(extern int foo(int, int);,, AC_DEFINE(HAVE_ANSIPROTO) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
432
433AC_MSG_CHECKING(to see if your compiler can handle ANSI variable arguments)
434AC_TRY_COMPILE([#include <stdarg.h>
435int foo(int arg, ...) {
436	va_list ap;
437	va_start(ap, arg);
438	va_end(ap);
439	return 0;
440}],, AC_DEFINE(HAVE_ANSISTDARG) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
441
442AC_MSG_CHECKING(to see if you have an ANSI-style sprintf)
443AC_TRY_RUN([#include <stdio.h>
444int main(argc, argv)
445int argc;
446char *argv[];
447{
448  char buf[5];
449  int i = 2;
450  i += sprintf(buf, "1234");
451  return (i == 6) ? 0 : -1;
452}], AC_DEFINE(HAVE_ANSISPRINTF) AC_MSG_RESULT(yes), AC_MSG_RESULT(no), AC_MSG_RESULT(no))
453
454dnl Checks for libraries.
455AC_CHECK_LIB(crypt, crypt)
456AC_CHECK_LIB(nsl, gethostname)
457AC_CHECK_LIB(posix, main)
458AC_CHECK_LIB(socket, socket)
459
460dnl Checks for header files.
461AC_HEADER_DIRENT
462AC_HEADER_SYS_WAIT
463AC_CHECK_HEADERS(crypt.h fcntl.h limits.h termios.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h paths.h shadow.h signal.h sys/signal.h lastlog.h sys/utsname.h pwd.h sys/param.h string.h stdlib.h utmpx.h sys/select.h)
464
465dnl Checks for typedefs, structures, and compiler characteristics.
466dnl AC_TYPE_UID_T
467dnl AC_TYPE_OFF_T
468dnl AC_TYPE_PID_T
469dnl AC_STRUCT_ST_BLKSIZE
470dnl AC_STRUCT_TM
471
472AC_MSG_CHECKING(for ut_pid in struct utmp)
473AC_TRY_COMPILE([#include <sys/types.h>
474#include <utmp.h>], [struct utmp foo; return (int)foo.ut_pid;], AC_DEFINE(HAVE_UT_PID) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
475AC_MSG_CHECKING(for ut_type in struct utmp)
476AC_TRY_COMPILE([#include <sys/types.h>
477#include <utmp.h>], [struct utmp foo; return (int)foo.ut_type;], AC_DEFINE(HAVE_UT_TYPE) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
478AC_MSG_CHECKING(for ut_name in struct utmp)
479AC_TRY_COMPILE([#include <sys/types.h>
480#include <utmp.h>], [struct utmp foo; return (int)foo.ut_name[0];], AC_DEFINE(HAVE_UT_NAME) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
481dnl AC_MSG_CHECKING(for ut_user in struct utmp)
482dnl AC_TRY_COMPILE([#include <sys/types.h>
483dnl #include <utmp.h>], [struct utmp foo; return (int)foo.ut_user[0];], AC_DEFINE(HAVE_UT_USER) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
484AC_MSG_CHECKING(for ut_host in struct utmp)
485AC_TRY_COMPILE([#include <sys/types.h>
486#include <utmp.h>], [struct utmp foo; return (int)foo.ut_host[0];], AC_DEFINE(HAVE_UT_HOST) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
487
488dnl Checks for library functions.
489dnl AC_PROG_GCC_TRADITIONAL
490AC_TYPE_SIGNAL
491AC_CHECK_FUNCS(gettimeofday socket strftime strstr setpriority getttynam setvbuf getspnam endspent setgroups getgroups fpurge setlogin lstat getutxline pututxline usleep)
492
493dnl Libmissing...
494AC_FUNC_MEMCMP
495AC_FUNC_ALLOCA
496AC_REPLACE_FUNCS(getusershell sigaddset sigemptyset strerror strncasecmp)
497MISSING="$LIBOBJS $ALLOCA " ;
498AC_CHECK_FUNC(atexit,, MISSING="${MISSING}atexit.o "; AC_CHECK_FUNCS(on_exit))
499AC_CHECK_FUNC(endutent,, MISSING="${MISSING}endutent.o ")
500AC_CHECK_FUNC(memcpy,, MISSING="${MISSING}memcpy.o "; AC_CHECK_FUNCS(bcopy))
501AC_CHECK_FUNC(memset,, MISSING="${MISSING}memset.o "; AC_CHECK_FUNCS(bzero))
502AC_CHECK_FUNC(getcwd,, MISSING="${MISSING}getcwd.o "; AC_CHECK_FUNCS(getwd))
503AC_CHECK_FUNC(getenv, AC_DEFINE(HAVE_GETENV), MISSING="${MISSING}env.o ")
504AC_CHECK_FUNC(getutline, AC_DEFINE(HAVE_GETUTLINE), MISSING="${MISSING}getutline.o "; AC_CHECK_FUNCS(ttyslot))
505AC_CHECK_FUNC(pututline,, MISSING="${MISSING}pututline.o "; AC_CHECK_FUNCS(ttyslot))
506AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV), MISSING="${MISSING}env.o ")
507AC_CHECK_FUNC(setegid,, MISSING="${MISSING}setegid.o "; AC_CHECK_FUNCS(setregid setresgid))
508AC_CHECK_FUNC(seteuid,, MISSING="${MISSING}seteuid.o "; AC_CHECK_FUNCS(setreuid setresuid))
509AC_CHECK_FUNC(setutent,, MISSING="${MISSING}setutent.o ")
510AC_CHECK_FUNC(sigprocmask,, MISSING="${MISSING}sigprocmask.o "; AC_CHECK_FUNCS(sigblock sigsetmask))
511AC_CHECK_FUNC(strchr,, MISSING="${MISSING}strchr.o "; AC_CHECK_FUNCS(index))
512AC_CHECK_FUNC(strrchr,, MISSING="${MISSING}strrchr.o "; AC_CHECK_FUNCS(rindex))
513AC_CHECK_FUNC(strtoul,, MISSING="${MISSING}strtoul.o ")
514AC_CHECK_FUNC(sysconf,, MISSING="${MISSING}sysconf.o "; AC_CHECK_FUNCS(getdtablesize))
515AC_CHECK_FUNC(uname,, MISSING="${MISSING}uname.o "; AC_CHECK_FUNCS(gethostname))
516AC_CHECK_FUNC(unsetenv, AC_DEFINE(HAVE_UNSETENV), MISSING="${MISSING}env.o ")
517AC_SUBST(MISSING)
518
519AC_MSG_CHECKING(for nonstandard gettimeofday)
520AC_TRY_COMPILE([
521#if HAVE_SYS_TIME_H
522#include <sys/time.h>
523#endif /* HAVE_SYS_TIME_H */
524#if HAVE_UNISTD_H
525#include <unistd.h>
526#endif /* HAVE_UNISTD_H */
527],
528[struct timeval tv;
529gettimeofday(&tv, NULL)], AC_MSG_RESULT(no), AC_MSG_RESULT(maybe) AC_TRY_COMPILE([
530#if HAVE_SYS_TIME_H
531#include <sys/time.h>
532#endif /* HAVE_SYS_TIME_H */
533#if HAVE_UNISTD_H
534#include <unistd.h>
535#endif /* HAVE_UNISTD_H */
536],
537[struct timeval tv;
538gettimeofday(&tv)], AC_DEFINE(HAVE_ONE_ARG_GETTIMEOFDAY) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)))
539
540# Munge out LOCALBIN and LOCALMAN in canonical (no bletch) form
541AC_OUTPUT(configure.munger libmissing/Makefile libopie/Makefile Makefile.munge:Makefile.in)
542sh configure.munger
543