summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2005-04-18 20:45:01 +0000
committerNathan Kinder <nkinder@redhat.com>2005-04-18 20:45:01 +0000
commite92ef06ca32689a87e4c0c9eb15b1df0f442d98e (patch)
treec9cdea077e7bd147732b01242ca99a60c06dd00d /ldap/admin/src/scripts
parent365804864dd9f87d93dfc7d6c557f5bd1ad2397e (diff)
downloadds-e92ef06ca32689a87e4c0c9eb15b1df0f442d98e.tar.gz
ds-e92ef06ca32689a87e4c0c9eb15b1df0f442d98e.tar.xz
ds-e92ef06ca32689a87e4c0c9eb15b1df0f442d98e.zip
HP-UX IPF Porting changes
Diffstat (limited to 'ldap/admin/src/scripts')
-rw-r--r--ldap/admin/src/scripts/template-migrate50to515
-rwxr-xr-xldap/admin/src/scripts/template-migrateTo55
2 files changed, 10 insertions, 0 deletions
diff --git a/ldap/admin/src/scripts/template-migrate50to51 b/ldap/admin/src/scripts/template-migrate50to51
index 2160024d..0feb4aca 100644
--- a/ldap/admin/src/scripts/template-migrate50to51
+++ b/ldap/admin/src/scripts/template-migrate50to51
@@ -117,7 +117,12 @@ BEGIN {
$dll_suffix = "_shr.a";
}
elsif ( $os eq "HP-UX" ) {
+ $arch = &uname("-p");
+ if ( $arch eq "ia64" ) {
+ $dll_suffix = ".so";
+ } else {
$dll_suffix = ".sl";
+ }
}
elsif ( $os eq "WINNT" ) {
$dll_suffix = ".dll";
diff --git a/ldap/admin/src/scripts/template-migrateTo5 b/ldap/admin/src/scripts/template-migrateTo5
index fd4db316..f7bcd5aa 100755
--- a/ldap/admin/src/scripts/template-migrateTo5
+++ b/ldap/admin/src/scripts/template-migrateTo5
@@ -136,7 +136,12 @@ BEGIN {
$dll_suffix = "_shr.a";
}
elsif ( $os eq "HP-UX" ) {
+ $arch = &uname("-p");
+ if ( $arch eq "ia64" ) {
+ $dll_suffix = ".so";
+ } else {
$dll_suffix = ".sl";
+ }
}
elsif ( $os eq "WINNT" ) {
$dll_suffix = ".dll";