- or download this
# configure.ac
AC_INIT([helloprog],[1.0],[abc@xyz.com])
...
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([myscript.pl])
AC_OUTPUT
- or download this
# Makefile.am
bin_SCRIPTS = myscript.pl
- or download this
# myscript.pl.in
# all @MYVAR@ will be substituted by value in configure.ac file
my $var = "@MYVAR@";
print "var is : $var\n";