]> granicus.if.org Git - sudo/commitdiff
Add a devdir variables that defaults to $(srcdir) and is set to . if
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 5 Jan 2005 22:17:33 +0000 (22:17 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 5 Jan 2005 22:17:33 +0000 (22:17 +0000)
--devel was specified.  Allows for proper dependecies building the parser.

configure.in

index d393a526ded5f44e29fd76eda6ecbf110aa8d9a4..5e20c87cde8bbe3f8a2ae98ec3032d80c754c754 100644 (file)
@@ -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])