This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
z/OS makedepend fix from Peter Prymmer;
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 5 Jun 2003 16:58:23 +0000 (16:58 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 5 Jun 2003 16:58:23 +0000 (16:58 +0000)
still needed as reported by Brian De Pradine.

p4raw-id: //depot/perl@19692

makedepend.SH

index c1d880d..688f656 100755 (executable)
@@ -141,6 +141,11 @@ for file in `$cat .clist`; do
        -e 's|\\$||' \
        -e p \
        -e '}' ) >UU/$file.c
+
+    if [ "$osname" = os390 -a "$file" = perly.c ]; then
+        $echo '#endif' >>UU/$file.c
+    fi
+
     if [ "$osname" = os390 ]; then
         $cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
         $sed \