Skip to content

Instantly share code, notes, and snippets.

@dagolden
Created November 10, 2010 16:34
Show Gist options
  • Save dagolden/671082 to your computer and use it in GitHub Desktop.
Save dagolden/671082 to your computer and use it in GitHub Desktop.
add api_versionstring to archname
diff --git a/Configure b/Configure
index 793f8fa..632f740 100755
--- a/Configure
+++ b/Configure
@@ -6068,6 +6068,14 @@ esac
rp='What is your architecture name'
. ./myread
archname="$ans"
+: append the api_versionstring to support INSTALL_BASE with multiple perls
+case "$archname" in
+ *-$api_versionstring) echo "...and architecture name already has -$api_versionstring" >&4
+ ;;
+ *) archname="$archname-$api_versionstring"
+ echo "...setting architecture name to $archname." >&4
+ ;;
+esac
case "$usethreads" in
$define)
echo "Threads selected." >&4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment