diff --git a/configure.ac b/configure.ac index fa1bc2b..f9d3ff4 100644 --- a/configure.ac +++ b/configure.ac @@ -94,6 +94,7 @@ AC_SUBST([LIBOPENDMARC_VERSION_INFO]) AC_PROG_CC AM_PROG_CC_C_O LT_INIT +AC_PATH_PROG([PERL], [perl], [/usr/bin/perl]) PKG_PROG_PKG_CONFIG diff --git a/reports/opendmarc-expire.in b/reports/opendmarc-expire.in index 98b1b80..1da08d5 100755 --- a/reports/opendmarc-expire.in +++ b/reports/opendmarc-expire.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/@PERL@ # # Copyright (c) 2010-2012, 2014-2016, 2018, The Trusted Domain Project. # All rights reserved. diff --git a/reports/opendmarc-import.in b/reports/opendmarc-import.in index 2c48fd2..07cffbb 100755 --- a/reports/opendmarc-import.in +++ b/reports/opendmarc-import.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/@PERL@ # # Copyright (c) 2012, 2014, 2018, The Trusted Domain Project. All rights reserved. # diff --git a/reports/opendmarc-params.in b/reports/opendmarc-params.in index b74bcdf..8622a99 100755 --- a/reports/opendmarc-params.in +++ b/reports/opendmarc-params.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/@PERL@ # # Copyright (c) 2012, 2013, The Trusted Domain Project. All rights reserved. # diff --git a/reports/opendmarc-reports.in b/reports/opendmarc-reports.in index 0489539..b643e44 100755 --- a/reports/opendmarc-reports.in +++ b/reports/opendmarc-reports.in @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/@PERL@ # # Copyright (c) 2012-2016, 2017-2018, The Trusted Domain Project. # All rights reserved.