Browse Source

Issue 2736 - remove remaining perl references

Description:  Remove all perl shebang mangling code.

relates: https://github.com/389ds/389-ds-base/issues/2736

Reviewed by: mreynolds
Mark Reynolds 4 years ago
parent
commit
ecd7e71d15
2 changed files with 0 additions and 16 deletions
  1. 0 1
      Makefile.am
  2. 0 15
      configure.ac

+ 0 - 1
Makefile.am

@@ -2002,7 +2002,6 @@ fixupcmd = sed \
 	-e 's,@with_selinux\@,@with_selinux@,g' \
 	-e 's,@with_systemd\@,$(WITH_SYSTEMD),g' \
 	-e 's,@tmpfiles_d\@,$(tmpfiles_d),g' \
-	-e 's,@perlexec\@,@perlexec@,g' \
 	-e 's,@pythonexec\@,@pythonexec@,g' \
 	-e 's,@sttyexec\@,@sttyexec@,g' \
 	-e 's,@initconfigdir\@,$(initconfigdir),g' \

+ 0 - 15
configure.ac

@@ -590,18 +590,6 @@ AC_ARG_WITH(initddir,
 ])
 
 AM_CONDITIONAL([INITDDIR], [test -n "$with_initddir" -a "$with_initddir" != "no"])
-# on most platforms, we will just use perl from PATH
-# On some platforms, we cannot.  Why not just use any old
-# perl?  Because of perldap.  We use a perldap that is
-# compiled to either 32bit or 64bit, so we must use a native
-# perl binary compiled with the same bitsize.  On Solaris
-# and HP-UX, /usr/bin/perl is 32 bit, so we cannot use
-# those with our 64 bit compiled product.
-if test -n "$with_perldir"; then
-  perlexec="$with_perldir/perl"
-else
-  perlexec='/usr/bin/env perl'
-fi
 
 # This will let us change over the python version easier in the future.
 if test -n "$with_pythonexec"; then
@@ -681,7 +669,6 @@ case $host in
     AC_DEFINE([_HPUX_SOURCE], [1], [Source namespace])
     AC_DEFINE([_INCLUDE_STDC__SOURCE_199901], [1], [to pick up all of the printf format macros in inttypes.h])
     # assume 64 bit
-    perlexec='/opt/perl_64/bin/perl'
     platform="hpux"
     initconfigdir="/$PACKAGE_NAME/config"
     # HPUX doesn't use /etc for this
@@ -699,7 +686,6 @@ case $host in
     AC_DEFINE([_INCLUDE_STDC__SOURCE_199901], [1], [to pick up all of the printf format macros in inttypes.h])
     # assume 64 bit
     initconfigdir="/$PACKAGE_NAME/config"
-    perlexec='/opt/perl_64/bin/perl'
     platform="hpux"
     # HPUX doesn't use /etc for this
     initdir=/init.d
@@ -781,7 +767,6 @@ fi
 
 # sysv init scripts not used when systemd is used
 AC_SUBST(initdir)
-AC_SUBST(perlexec)
 AC_SUBST(pythonexec)
 AC_SUBST(sttyexec)