]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/options.c
Use autoconf/automake to configure and make ppp
[ppp.git] / pppd / options.c
index 108e2b8c1197968f770bb3bb40bc560f9a53c19a..0c76a6b5e1422186af9c742d3d80d2850f98f8a1 100644 (file)
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <ctype.h>
 #include <stdarg.h>
 #include <stdio.h>
@@ -1451,6 +1455,7 @@ callfile(char **argv)
     if ((fname = (char *) malloc(l)) == NULL)
        novm("call file name");
     slprintf(fname, l, "%s%s", _PATH_PEERFILES, arg);
+    script_setenv("CALL_FILE", arg, 0);
 
     ok = options_from_file(fname, 1, 1, 1);