AS_CASE([$exec_prefix:$prefix],
[NONE:NONE | NONE:/usr | /usr:*],
[AC_MSG_NOTICE([Default --exec-prefix detected.])
- AS_CASE([$bindir], [${exec_prefix}/bin], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ])
- AS_CASE([$sbindir], [${exec_prefix}/sbin], [bindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])])
- AS_CASE([$libdir], [${exec_prefix}/lib], [bindir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ])
+ AS_CASE([$bindir], ['${exec_prefix}/bin'], [bindir=/bin; AC_MSG_NOTICE([ --bindir defaults to /bin]) ])
+ AS_CASE([$sbindir], ['${exec_prefix}/sbin'], [bindir=/sbin; AC_MSG_NOTICE([ --sbindir defaults to /sbin])])
+ AS_CASE([$libdir], ['${exec_prefix}/lib'], [bindir=/lib; AC_MSG_NOTICE([ --libdir defaults to /lib]) ])
]
)
AS_CASE([$prefix:$localstatedir],
- [NONE:${prefix}/var | /usr:${prefix}/var],
+ [NONE:'${prefix}/var' | /usr:'${prefix}/var'],
[localstatedir=/run
AC_MSG_NOTICE([ --localstatedir defaults to /run])
]
AC_SUBST([usrsbin_execdir])
AS_CASE([$libdir],
- [${exec_prefix}/* | ${prefix}/* | /usr/*],
+ ['${exec_prefix}/'* | '${prefix}/'* | /usr/*],
[usrlib_execdir=$libdir],
[usrlib_execdir='${exec_prefix}'$libdir]
)
enable_tunelp=yes
enable_vipw=yes
enable_write=yes
+ with_python=yes
])
dnl
AC_ARG_WITH([python],
- AS_HELP_STRING([--without-python], [do not generate python bindings, use --with-python={2,3} to force version]),
- [], [with_python=check]
+ AS_HELP_STRING([--with-python], [generate python bindings, use --with-python={2,3} to force version]),
+ [], [with_python=no]
)
have_python=no
suid ldflags: ${SUID_LDFLAGS}
Python: ${PYTHON_VERSION}
+ Python scripts: ${pythondir}
+ Python libs: ${pyexecdir}
+
Bash completions: ${with_bashcompletiondir}
warnings: