This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
-Duserelocatableinc and -Duseshrplib don't work together
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 6 May 2009 12:00:39 +0000 (14:00 +0200)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 6 May 2009 12:00:39 +0000 (14:00 +0200)
U/perl/libperl.U

index 4412caa..047d83d 100644 (file)
@@ -8,7 +8,7 @@
 ?MAKE:libperl useshrplib shrpenv ldlibpthname: \
        Myread Oldconfig archlibexp awk cat libc \
        _a osname osvers so patchlevel subversion usedl ld \
-       ccdlflags installarchlib
+       ccdlflags installarchlib userelocatableinc
 ?MAKE: -pick wipe $@ %<
 ?S:libperl:
 ?S:    The perl executable is obtained by linking perlmain.c with
@@ -110,6 +110,13 @@ esac
 
 case "$useshrplib" in
 true)
+       case "$userelocatableinc" in
+       true|define)
+               echo "Cannot build with both -Duserelocatableinc and -Duseshrplib" >&4
+               echo "See INSTALL for an explanation why that won't work." >&4
+               exit 4
+               ;;
+       esac
        case "$libperl" in
        '')
                # Figure out a good name for libperl.so.  Since it gets stored in