CVS patchset: 1710
CVS date: 1997/06/25 16:04:50
#include "misc.h"
#include "rpmlib.h"
+#if HAVE_SYS_SYSTEMCFG_H
+#include <sys/systemcfg.h>
+#else
+#define __power_pc() 0
+#endif
+
/* the rpmrc is read from /etc/rpmrc or $HOME/.rpmrc - it is not affected
by a --root option */
}
uname(&un);
+ if (!strcmp(un.sysname, "AIX")) {
+ strcpy(un.manchine, __power_pc() ? "ppc" : "rs6000");
+
if (build) {
if (! arch) {
arch = lookupInDefaultTable(un.machine, archDefaultTable,