This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add -mabi=64 to ccflags for 64-bit IRIX gcc.
[perl5.git] / hints / linux.sh
index 25d5d73..0339e8f 100644 (file)
@@ -43,8 +43,16 @@ ignore_versioned_solibs='y'
 # available via anonymous FTP at tsx-11.mit.edu in
 # /pub/linux/docs/linux-standards/fsstnd.
 # Allow a command line override, e.g. Configure -Dprefix=/foo/bar
+# Also, if the user has specified -Uinstallusrbinperl and hasn't
+# specified a prefix, then set prefix to /usr/local.
 case "$prefix" in
-'') prefix='/usr' ;;
+'')
+    case "$installusrbinperl" in
+    "$undef")
+        prefix='/usr/local' ;;
+    esac
+*)
+    prefix='/usr' ;;
 esac
 
 # gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool.