From: Todd C. Miller Date: Wed, 5 Jan 2005 22:17:33 +0000 (+0000) Subject: Add a devdir variables that defaults to $(srcdir) and is set to . if X-Git-Tag: SUDO_1_7_0~746 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fb59a25ca275072d4e49e0c01babb66195d95c3;p=sudo Add a devdir variables that defaults to $(srcdir) and is set to . if --devel was specified. Allows for proper dependecies building the parser. --- diff --git a/configure.in b/configure.in index d393a526d..5e20c87cd 100644 --- a/configure.in +++ b/configure.in @@ -32,6 +32,7 @@ AC_SUBST(SUDOERS_MODE)dnl AC_SUBST(SUDOERS_UID)dnl AC_SUBST(SUDOERS_GID)dnl AC_SUBST(DEV) +AC_SUBST(devdir) AC_SUBST(mansectsu) AC_SUBST(mansectform) AC_SUBST(mansrcdir) @@ -94,6 +95,7 @@ tty_tickets=off insults=off root_sudo=on INSTALL_NOEXEC= +devdir='$(srcdir)' dnl dnl Initial values for Makefile variables listed above dnl May be overridden by environment variables.. @@ -208,6 +210,7 @@ AC_ARG_WITH(devel, [ --with-devel add development options], PROGS="${PROGS} testsudoers" OSDEFS="${OSDEFS} -DSUDO_DEVEL" DEV="" + devdir=. ;; no) ;; *) AC_MSG_WARN([Ignoring unknown argument to --with-devel: $with_devel])