-
Notifications
You must be signed in to change notification settings - Fork 43
/
configure.ac
559 lines (514 loc) · 15.8 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.69)
dnl VERSION needs to be updated such that 'make dist' uses the correct
dnl filename for the directory name and tarball.
PACKAGE=`$srcdir/configure.vers package_name`
VERSION=`$srcdir/configure.vers package_version`
AC_SUBST(VERSION)
AC_SUBST(PACKAGE)
AC_INIT(m4_esyscmd(configure.vers package_name),
m4_esyscmd(configure.vers package_version),
AC_CONFIG_SRCDIR(CHANGES)
AM_INIT_AUTOMAKE
COPYYEARS="1997-2022"
AC_SUBST(COPYYEARS)
dnl default install location
AC_PREFIX_DEFAULT(/usr/local/rancid)
AM_MAINTAINER_MODE([disable])
dnl AC_CONFIG_SUBDIRS(util)
# make sure MAKE sets ${MAKE}
AC_PATH_PROG(MAKE,gmake,no)
if test $MAKE = no; then
unset ac_cv_path_MAKE
AC_PATH_PROG(MAKE,make,no)
if test $MAKE = no; then
AC_MSG_ERROR([can't locate a make.])
exit 1
fi
fi
AC_PROG_MAKE_SET()
# compiler specifics
AC_PROG_CC
AC_PROG_CPP
AC_C_CONST
AC_C_INLINE
AC_C_STRINGIZE
# check includes/headers
AC_INCLUDES_DEFAULT
AC_CHECK_HEADERS(ctype.h errno.h fcntl.h libutil.h limits.h pty.h malloc.h \
memory.h siginfo.h stdarg.h stdint.h stdlib.h string.h \
strings.h stropts.h sys/resource.h sys/time.h \
sys/types.h sys/wait.h sysexits.h unistd.h util.h wait.h)
# check functions
AC_CHECK_FUNCS(asprintf memcpy memmove memset strerror strchr \
strrchr strstr strtok strrtok index rindex unsetenv)
AC_CHECK_FUNCS(openpty, openpty=1, openpty=0)
# openpty() is not in the default libraries. See if it is in some other lib.
if test $openpty = 0; then
for lib in util; do
AC_CHECK_LIB($lib, openpty, [AC_DEFINE(HAVE_OPENPTY)
LIBS="$LIBS -l$lib"; openpty=1; break])
done
fi
# If we dont have openpty, then look for /dev/ptmx for use by our own
# openpty().
if test $openpty = 0; then
# This check (partially) comes from expect's configure
AC_MSG_CHECKING([for SVR4 style pty allocation])
AH_TEMPLATE(HAVE_PTMX, "define this if your o/s has /dev/ptmx")
if test -r /dev/ptmx ; then
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PTMX)
# Some systems need libpt.a to use /dev/ptmx
AC_CHECK_FUNCS(ptsname)
if test $ac_cv_func_ptsname+set != set; then
# ptsname is not in the default libraries.
for lib in pt; do
AC_CHECK_LIB($lib, ptsname, [LIBS="$LIBS -l$lib"; break])
done
fi
else
AC_MSG_RESULT(no)
fi
# In OSF/1 case, SVR4 are somewhat different.
# Gregory Depp <[email protected]> 17Aug93
AC_MSG_CHECKING([for OSF/1 style pty allocation])
AH_TEMPLATE(HAVE_PTMX_OSF, "define this for OSF/1 ptmx")
if test -r /dev/ptmx_bsd ; then
AC_DEFINE(HAVE_PTMX_OSF)
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi
fi
dnl AC_FUNC_VPRINTF
# type checks
AC_TYPE_SIZE_T
# Package-specific options/knobs
#
# Check if user wants us to create LOCALSTATEDIR. If it's a package-system,
# they might create it themselves for book-keeping sake; eg: NetBSD
AC_MSG_CHECKING([whether to create the local state directory at install time])
AC_ARG_ENABLE(mk-localstatedir,
AS_HELP_STRING([--enable-mk-localstatedir], [enable creation of the local state directory at install time (default: yes)]),
[if test "$enable_mk_localstatedir" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi],
[AC_MSG_RESULT(yes)
enable_mk_localstatedir="yes"
])
AM_CONDITIONAL([MK_LCLSTATEDIR], [test "${enable_mk_localstatedir}" = yes])
# Check if user wants us to install sample configurations into the sysconfdir.
AC_MSG_CHECKING([whether to install sample .conf files in sysconfdir])
AC_ARG_ENABLE(conf-install,
AS_HELP_STRING([--enable-conf-install], [enable install of sample .conf files in sysconfdir (default: yes)]),
[if test "$enable_conf_install" = yes; then
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi],
[AC_MSG_RESULT(yes)
enable_conf_install="yes"
])
AM_CONDITIONAL([CONF_INSTALL], [test "${enable_conf_install}" = yes])
# Configure for subversion revision control system instead of CVS.
SVN_FSTYPE="--fs-type fsfs"
AC_MSG_CHECKING([whether subversion])
AC_ARG_WITH(svn,
AS_HELP_STRING([--with-svn=fstype],
[use subversion instead of cvs, with optional svn fstype (fsfs|bdb)]),
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
RCSSYS="svn"
;;
fsfs)
AC_MSG_RESULT([yes fstype fsfs])
RCSSYS="svn"
SVN_FSTYPE="--fs-type fsfs"
;;
bdb)
AC_MSG_RESULT([yes fstype bdb])
RCSSYS="svn"
SVN_FSTYPE="--fs-type bdb"
;;
no)
AC_MSG_RESULT(no)
RCSSYS="cvs"
;;
*)
AC_MSG_ERROR([unknown svn fs-type $withval])
esac
], [AC_MSG_RESULT(no)
AC_ARG_WITH(git,
AS_HELP_STRING([--with-git], [use git instead of cvs]),
[ case "$withval" in
yes)
AC_MSG_RESULT(yes)
RCSSYS="git"
;;
no)
AC_MSG_RESULT(no)
RCSSYS="cvs"
esac
], [AC_MSG_RESULT(no)
RCSSYS="cvs"
])
])
AC_SUBST(RCSSYS)
AC_SUBST(SVN_FSTYPE)
rd_cv_RCSSYS=$RCSSYS
# Check for a preference for using mail addresses like rancid+group
# instead of the standard rancid-group
AC_MSG_CHECKING([whether mail addresses should be in the rancid+ form])
AC_ARG_ENABLE(mail-plus,
AS_HELP_STRING([--enable-mail-plus], [enable mail to rancid+ addresses, instead of rancid-]),
[if test "$enable_mail_plus" = yes; then
AC_MSG_RESULT(yes)
MAILPLUS="rancid+"
AC_SUBST(MAILPLUS)
else
AC_MSG_RESULT(no)
MAILPLUS="rancid-"
AC_SUBST(MAILPLUS)
fi],
[AC_MSG_RESULT(no)
MAILPLUS="rancid-"
AC_SUBST(MAILPLUS)
])
rd_cv_MAILPLUS=$MAILPLUS
# Check for a preference for using mail addresses like rancid+admin-group
# instead of the standard rancid-admin-group
AC_MSG_CHECKING([whether admin mail addresses should be in the rancid-admin+ form])
AC_ARG_ENABLE(adminmail-plus,
AS_HELP_STRING([--enable-adminmail-plus], [enable mail to rancid-admin+ addresses, instead of rancid-admin-]),
[if test "$enable_adminmail_plus" = yes; then
AC_MSG_RESULT([rancid-admin+])
ADMINMAILPLUS="rancid-admin+"
AC_SUBST(ADMINMAILPLUS)
else
AC_MSG_RESULT([${MAILPLUS}admin-])
ADMINMAILPLUS="${MAILPLUS}admin-"
AC_SUBST(ADMINMAILPLUS)
fi],
[AC_MSG_RESULT([${MAILPLUS}admin-])
ADMINMAILPLUS="${MAILPLUS}admin-"
AC_SUBST(ADMINMAILPLUS)
])
rd_cv_ADMINMAILPLUS=$ADMINMAILPLUS
AC_PATH_PROG(DIRNAME,dirname,no)
# locate GNU diff (one supporting the -u option)
AC_MSG_CHECKING([for a diff(1) that supports -u])
_DIFF_PATH=`echo $PATH:${prefix}/bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:/usr/gnu/bin:/usr/contrib/bin | sed -e 's/:/ /g'`
for _diff in ${_DIFF_PATH} ;
do
if test -e ${_diff}/diff ; then
${_diff}/diff -u -4 /dev/null /dev/null > /dev/null 2>&1
if test $? -ne 0; then
# linux/gnu shit has to change options that have been around
# since organized religion; see if -U 4 works.
${_diff}/diff -U 4 /dev/null /dev/null > /dev/null 2>&1
if test $? -ne 0; then
if test "${ADIFF}" = "" ; then
ADIFF="${_diff}/diff"
ADIFF_CMD="diff -c -4"
fi
else
DIFF="${_diff}/diff"
DIFF_CMD="diff -U 4"
break
fi
else
DIFF="${_diff}/diff"
DIFF_CMD="diff -u -4"
break
fi
fi
done
if test "$DIFF" = "" ; then
DIFF=$ADIFF
DIFF_CMD=$ADIFF_CMD
fi
if test "$DIFF" = "" ; then
AC_MSG_ERROR([can't locate diff.])
fi
AC_MSG_RESULT([${DIFF_CMD}])
rd_cv_DIFF=$DIFF
AC_SUBST(DIFF)
rd_cv_DIFF_CMD=$DIFF_CMD
AC_SUBST(DIFF_CMD)
AC_PATH_PROG(SENDMAIL, [sendmail], [no], [/usr/sbin:/usr/bin:/usr/lib])
if test "$SENDMAIL" = "no"; then
echo "WARNING: sendmail not found" >&2
SENDMAIL=''
fi
AC_SUBST(SENDMAIL)
# Find an appropriate tar for use in "dist" targets. A "best guess"
# is good enough -- if we can't find GNU tar, we don't really care.
AC_CHECK_PROGS(TAR, gnutar gtar tar)
AC_CHECK_PROGS(AUTOMAKE, automake)
dnl locate perl 5 and expect.
AC_PROG_INSTALL
AC_PATH_PROG(PERLV_PATH,perl5,no)
if test $PERLV_PATH = no; then
unset ac_cv_path_PERLV_PATH
AC_PATH_PROG(PERLV_PATH,perl,no)
if test $PERLV_PATH = no; then
AC_MSG_ERROR([can't locate a suitable perl5.])
exit 1
else
$PERLV_PATH -e 'require 5;'
if test $? -ne 0 ; then
AC_MSG_ERROR([can't locate a suitable perl5.])
exit 1
fi
fi
fi
AC_SUBST(PERLV_PATH)
PERLV=`basename $PERLV_PATH`
AC_SUBST(PERLV)
# check Socket.pm version
AC_MSG_CHECKING([Socket.pm version])
$PERLV_PATH -e 'use 2.006 Socket qw(inet_pton);' 2>&1 >/dev/null
if test $? -ne 0 ; then
AC_MSG_ERROR([Socket.pm is older than 2.006; upgrade from http://metacpan.org/pod/Socket])
exit 1
fi
AC_PATH_PROG(EXPECT_PATH,expect,no)
if test $EXPECT_PATH = no; then
AC_MSG_ERROR([can't locate expect.])
fi
AC_SUBST(EXPECT_PATH)
dnl dnl locate python 3
dnl AC_PROG_INSTALL
dnl AC_PATH_PROG(PYTHON3_PATH,python3,no)
dnl if test $PYTHON3_PATH = no; then
dnl unset ac_cv_path_PYTHON3_PATH
dnl AC_PATH_PROG(PYTHON3_PATH,python,no)
dnl if test $PYTHON3_PATH = no; then
dnl AC_MSG_ERROR([can't locate a suitable python3.])
dnl exit 1
dnl else
dnl $PYTHON3_PATH -c << EOF
dnl import sys
dnl if not sys.version_info[0] == 3 or not sys.version_info[1] < 5:
dnl sys.exit(1)
dnl
dnl EOF
dnl if test $? -ne 0 ; then
dnl AC_MSG_ERROR([can't locate a suitable python3; must >=3.5.])
dnl exit 1
dnl fi
dnl fi
dnl fi
AC_SUBST(PYTHON3_PATH)
dnl PYTHON3=`basename $PYTHON3_PATH`
AC_SUBST(PYTHON3)
# look for lockfile utility
AC_PATH_PROG(MKTEMP,mktemp,no)
if test $MKTEMP = no; then
unset ac_cv_path_MKTEMP
AC_MSG_ERROR([can't locate a mktemp(1).])
fi
AC_SUBST(MKTEMP)
# locate ping and it's syntax
AC_PATH_PROG(PING_PATH,[ping],[no],
[$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin])
if test $PING_PATH = no; then
AC_MSG_ERROR([can't locate ping.])
exit 1
fi
# ping seems to take one of two formats for count (N)
# BSD: ping -c N host
# SVR: ping host N
$PING_PATH -c 1 -v 127.0.0.1 > /dev/null 2>&1
if test $? -eq 0 ; then
LG_PING_CMD="$PING_PATH -c 1"
else
$PING_PATH 127.0.0.1 56 1 > /dev/null 2>&1
if test $? -eq 0 ; then
LG_PING_CMD="$PING_PATH"
else
# cygwin using windows ping?
$PING_PATH -n 1 127.0.0.1 > /dev/null 2>&1
if test $? -eq 0 ; then
LG_PING_CMD="$PING_PATH -n 1"
else
AC_MSG_ERROR([can't figure out how to pass count == 1 to $PING_PATH.])
exit 1
fi
fi
fi
AC_SUBST(LG_PING_CMD)
rd_cv_lg_ping_cmd=$LG_PING_CMD
# locate tools to build $PATH for rancid.conf. order is significant. want
# to be sure that we pick up the the proper diff and ucbmail in
# etc/rancid.conf.
ENV_PATH="`dirname $PERLV_PATH`:`dirname $EXPECT_PATH`:`dirname \"$SENDMAIL\"`"
ENV_PATH="$ENV_PATH:`dirname $DIRNAME`:`dirname $DIFF`:`dirname $MKTEMP`"
if test $RCSSYS = "cvs" ; then
AC_PATH_PROG(CVS,cvs,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_CVS`"
elif test $RCSSYS = "svn" ; then
AC_PATH_PROG(SVN,svn,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_SVN`"
else
AC_PATH_PROG(GIT,git,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_GIT`"
fi
AC_PATH_PROG(COMM,comm,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_COMM`"
AC_PATH_PROG(FIND,find,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_FIND`"
AC_PATH_PROG(GREP,grep,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_GREP`"
AC_PATH_PROG(ID,id,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_ID`"
AC_PATH_PROG(MKDIR,mkdir,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_MKDIR`"
AC_PATH_PROG(RSH,rsh,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_RSH`"
AC_PATH_PROG(SORT,sort,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_SORT`"
AC_PATH_PROG(SSH,ssh,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_SSH`"
AC_PATH_PROG(TELNET,telnet,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_TELNET`"
# test if telnet accepts -K
$ac_cv_path_TELNET -K < /dev/null > /dev/null 2>&1
if test $? -eq 0 ; then
TELNET_CMD="telnet -K"
else
TELNET_CMD="telnet"
fi
AC_SUBST(TELNET_CMD)
AC_PATH_PROG(TOUCH,touch,no)
ENV_PATH="$ENV_PATH:`dirname $ac_cv_path_TOUCH`"
ENV_PATH="$ENV_PATH:/usr/local/bin:/usr/bin"
AC_SUBST(ENV_PATH)
ENV_PATH=`echo $ENV_PATH | $PERLV_PATH -e 'foreach $x(split(":",<>)){next unless (length($x));next if ($x =~ /^\.$/);$x =~ s/[\n\r]*//;push(@F, $x),$seen{$x}=1 unless (defined $seen{$x});}print join(":",@F);'`
ac_cv_env_path=$ENV_PATH
AC_SUBST(ENV_PATH)
AC_CONFIG_FILES(Makefile)
AC_CONFIG_FILES(bin/Makefile)
AC_CONFIG_FILES(etc/Makefile)
AC_CONFIG_FILES(include/Makefile)
AC_CONFIG_FILES(lib/Makefile)
AC_CONFIG_FILES(man/Makefile)
AC_CONFIG_FILES(share/Makefile)
AC_CONFIG_FILES(include/version.h) # this is not a header in the sense of
# AC_CONFIG_HEADERS will cause
# autoheader to overwrite it, while all
# want is simple variable replacement
# autoheader bits
AH_TOP([
#ifndef CONFIG_H
#define CONFIG_H 1
])
AH_BOTTOM([
/* damned linux... */
#if defined(LINUX) || defined(linux)
# define _GNU_SOURCE
#endif
#ifndef __P
# if STDC_HEADERS
# define __P(a) a
# else
# define __P(a) ()
# endif
#endif
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
# include <sys/types.h>
#elif HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_ERRNO_H
# include <errno.h>
#endif
extern int errno;
#if HAVE_STRING_H
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if ! HAVE_STRERROR
# define strerror(n) sys_errlist[n];
#endif
#if HAVE_WAIT_H
# include <wait.h>
#elif HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
#if HAVE_SYSEXITS_H
# include <sysexits.h>
#else
/* missing sysexits.h */
# define EX_OK 0
# define EX_USAGE 64 /* command line usage error */
# define EX_NOINPUT 66 /* cannot open input */
# define EX_TEMPFAIL 75 /* temp failure */
# define EX_OSERR 71 /* system error */
# define EX_CANTCREAT 73 /* can't create (user) output file */
# define EX_IOERR 74 /* input/output error */
# define EX_CONFIG 78 /* configuration error */
#endif
#endif /* CONFIG_H */
])
AC_CONFIG_HEADERS(include/config.h)
AC_CONFIG_FILES(bin/login_top)
AC_SUBST_FILE([copyright])
AC_SUBST_FILE([login_top])
copyright=$srcdir/COPYING
login_top=$srcdir/bin/login_top
AC_CONFIG_FILES(bin/a10login, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/agmrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/alogin bin/arancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/anlogin, [chmod a+x $ac_file])
dnl AC_CONFIG_FILES(bin/atrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/avologin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/blogin bin/brancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/brlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/cat5rancid bin/clogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/csblogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/cssrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/dllogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/elogin bin/erancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/f5rancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/flogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/fnlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/fxlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/hlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/htlogin bin/htrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/jlogin bin/jerancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/mrancid bin/mrvlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/mtlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/nlogin bin/nrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/noklogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/nslogin bin/nsrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/panlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/rblogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/rivlogin bin/rivrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/rrancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/rtftpcopy, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/tlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/trancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/xilogin bin/xirancid, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/xlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/ulogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(bin/wlogin, [chmod a+x $ac_file])
AC_CONFIG_FILES(share/rtrfilter, [chmod a+x $ac_file])
AC_OUTPUT()