Commit Graph

48 Commits

Author SHA1 Message Date
Nathan Neulinger
838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00
Nathan Neulinger
b9948dd965 initial-objdir-support-20011017
first cut at objdir support
2001-10-18 00:06:58 +00:00
Ken Raeburn
99ba2ae4b6 check-for-makefile-fragments-for-systype-at-configure-time-20011011
don't succeed configuring if we can't build for them

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

don't look at the generated files
2001-10-11 18:39:36 +00:00
Jeffrey Hutzelman
309122e864 configure-and-configure-libafs-use-acinclude-as-common-ground-20011008
use a single file for most of both configure scripts

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

except don't require autoconf 2.50
2001-10-09 15:48:25 +00:00
Derek Atkins
c9176d7f38 linux-generate-struct-vnode-dyanmically-from-kernel-headers-instead-of-by-perverting-configure-to-test-for-every-one-of-alan-coxs-additions-some-of-which-will-doubtless-never-make-it-into-mainline-kernels-20011001
hopefully this will be the end
(at least for a while) of problems where every linux version requires a new
openafs release. the struct vnode is now dynamically generated by parsing the
linux/fs.h file and pulling out the struct inode, then rewriting osi_vfs.h
2001-10-01 23:58:59 +00:00
Derrick Brashear
a878b9e689 allow-configure-time-override-of-DEST-20011001
so DEST=foo ./configure will work
2001-10-01 20:20:04 +00:00
Mark W. Eichin
12136567fc linux24-another-new-inode-field-sigh-20011001
with configure glue by shadow@dementia.org

one of these days we really need to implement a better solution
2001-10-01 18:31:49 +00:00
Jim Rees
b80f8ab2cb Initial OpenBSD support. Most of user space builds. No kernel module yet. 2001-09-14 00:19:17 +00:00
Chaskiel M Grundman
0c412784f1 darwin-update-plist-building-20010912
update how plist files are constructed so subsconfigure for libafs can work
2001-09-12 06:00:46 +00:00
Derrick Brashear
6b113587ca linux-configure-check-for-more-inode-struct-members-20010910
for redhat enterprise kernel
2001-09-10 21:52:30 +00:00
Chaskiel M Grundman
7303f3148e darwin-build-updates-20010910
separate plist on per-version basis

1.4 is not yet supported
2001-09-10 21:07:32 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix missed makefile

====================

update another missed file

====================

eliminate bogus escaping

====================

get rid of another bogus escape

====================

remove unused include directory

====================

get rid of no longer used libdir

====================

remove unused incdir

====================

fix up some problems for make compatibility and missing trailing /

====================

put afs.exp in the right place

====================

remove bogus afssrvdir reference

====================

update dest version of output

====================

update ref to libexecdir

====================

kill refs to afssrvdir

====================


convert missed LIBDIR to TOP_LIBDIR

====================

remove explicit INSTALL and use makefile.@sys value instead

====================

except it's helpful to actually include makefile.@sys

====================

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Sam Hartman
11b021e1b1 dirpath-support-configure-path-options-and-decanonicalization-20010906
Sam's notes:
"Here is a patch that supports directory paths, documentation for the
  above and decanonicalization of of supplied paths.  Here are tests I
  have run:

  * Build with  both transarc and non-transarc paths and examined
    dirpath.o
  * Build with roughly FHS-style paths and tested on Debian
  * confirmed that bos salvage  works even when salvager not in
    /usr/afs/bin
  (it gets the log correctly too)
  * confirms that bos getlog can get logs from /usr/afs/logs even when
    /ur/afs/logs
  is /var/lib/openafs/logs
  * confirmed that bos getlog can get /etc/motd
"
2001-09-07 04:18:59 +00:00
Nathan Neulinger
635df30c0f more-makefiles-cleanup-20010829
get rid of cases where we'd end up with two / because of DESTDIR pasting

macroize calls to rm

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

get rid of another case of bogus trailing quoting
2001-08-30 00:22:17 +00:00
Derrick Brashear
3b75d2d05d linux-support-kernel-patches-used-by-suse-20010829
check for added fields in struct inode
2001-08-29 20:04:00 +00:00
Nathan Neulinger
b0c5f0cac6 makefile-updates-20010828
clean up all the makefiles to remove bogus targets, eliminate trailing /
requirement from DESTDIR, avoid needing to pass things like DESTDIR around
between makefiles

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus quoting
2001-08-29 02:19:55 +00:00
Nathan Neulinger
aadec38e06 hpux10-may-be-hppa-2-20010823
deal with more uname output
2001-08-23 18:07:24 +00:00
Nathan Neulinger
120e1ef570 configure-simplify-hp-detection-for-sysname-20010816
cut from 2 rules to one
2001-08-16 08:54:48 +00:00
Derrick Brashear
cb3985fcd9 linux-ext3-adds-items-to-struct-inode-and-so-do-we-20010807
Thanks to shirsch@adelphia.net for mentioning something was added.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

this leaked in, separate delta

====================

fix maxcro defn
2001-08-08 03:37:54 +00:00
Derrick Brashear
81c5741633 linux-fs-h-struct-inode-test-for-i-cdev-20010807
doesn't look like it should matter but we might as well try to stay consistent

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove extra tests
2001-08-08 01:34:58 +00:00
Chas Williams
a1b425f767 introduce-linux-ia64-port-20010806
"no special instructions this time other than you need a rather recent
glibc (turbolinux beta5 or redhat 7.1) since the afs userland utilities
use ucontext() instead of setjmp()/longjmp().  this is probably the weakest
part of the port since lwp is somewhat difficult to test rigorously.

you can insmod the afs module now (and rmmod if you like)  why so difficult?
function pointers are really pointers to a function descriptor that contains
the function pointer and global pointer.  the syscall table (being written
in assembler) only contains function pointers.  it doesnt setup the gp.
modules and kernels do not share the same gp.  so if you want the syscall
to go to a module, you need to setup the gp and then call your module's
routine.  be sure to restore the gp after returning from your routine :)
i also converted to the 'new style' module_init() -- only used on kernel
versions 2.4.0 and up.  this does the right thing if you happen to be
linked directly with the kernel.

klog has been fixed (afs's crypt() function is sensitive to sizeof(long) --
des/crypt.c should probably use 'afs_int32', not 'long' or 'int')

in case it matters, my platform is a b3-stepping running beta5 of turbolinux."

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

don't leak into not ia64 port
2001-08-07 01:11:25 +00:00
Derrick Brashear
52fb580769 configure-sysname-updates-20010806
add omitted s390 linux port
add alternate hpux11 port info from nneul@umr.edu
2001-08-07 00:24:14 +00:00
Nathan Neulinger
0207991adc convert-all-makefiles-to-makefile-ins-20010802
all relevant variables become subst'd and not passed in the environment
2001-08-02 16:45:35 +00:00
Derrick Brashear
de296c6546 configure-allow-enabling-vos-full-listvol-switch-20010721
enable switch for new feature
2001-07-21 17:39:58 +00:00
Derrick Brashear
3416930f75 configure-fail-if-cant-guess-linux-version-for-sysname-20010719
if we disabled kernel module because there were no headers, guessing the sysname is harder
2001-07-19 22:25:26 +00:00
Derek Atkins
5c38f46fc8 configure-redhat-kernel-bug-workaround-20010715
to allow hooking in to deal with bug in redhat kernel headers
2001-07-16 01:59:01 +00:00
Nickolai Zeldovich
9e3578a678 configure-fail-unknown-sysnames-20010715
fail on unknown systems to default system name
2001-07-16 01:13:19 +00:00
Nickolai Zeldovich
36a5eaa81c solaris-detect-kernel-dqrwlock-20010712
based on feedback from Frank Batschulat <Frank.Batschulat@Sun.COM>

vfs_dqrwlock not present in all solaris versions
2001-07-12 20:04:07 +00:00
Chaskiel M Grundman
efe58972cc darwin-generate-module-version-from-version-string-20010712
generate darwin version string from the autoconf version for the module
2001-07-12 20:00:33 +00:00
Derrick Brashear
63d75a498e pam-needs-afsdb-libs-20010712
since libauth can include afsdb support we need the support libs
2001-07-12 19:57:25 +00:00
Derrick Brashear
b1068468fd generate-version-strings-from-configure-20010712
have perfectly good version string. use it.
2001-07-12 18:43:28 +00:00
Derek Atkins
61aa7f4aaf add-redhat-buildsys-enabler-in-configure-20010712
to make things easier when building in a spec file environment
2001-07-12 18:18:53 +00:00
Derrick Brashear
bfdd29c0d8 configure-compute-darwin-sysnames-20010712
powerpc not ppc is the cpu type; specify version also

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

include _
2001-07-12 18:11:32 +00:00
Derrick Brashear
33ae575a6a linux24-handle-inode-address-space-page-lock-spinlock-20010712
One line patch to initialize spin lock added in a RedHat kernel patch.
This should fix the RedHat 7.1 SMP problem. Also includes configure
glue to turn it on. Thanks to Chaskiel Grundman for suggesting the fix,
Garry Zacheiss for suggesting it affected the SMP kernel generally and not
just SMP hardware, and Andrei Maslennikov for noting the problem did not
affect vanilla 2.4.3 with only the Alan Cox (AC14 in this case) patch.
2001-07-12 16:37:31 +00:00
Derrick Brashear
9ddcab1049 configure-guess-afs-sysnames-20010711
make configure attempt to guess the correct afs sysname for your platform

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

use precomputed kernel we're building for not uname output

====================

stick in missing systems
2001-07-11 22:00:50 +00:00
Derrick Brashear
77c76eb545 configure-linux-kernel-detection-should-set-afsconfig-items-20010711
we test for linux kernel features; might even be useful to use the results
2001-07-11 16:40:40 +00:00
Johan Danielsson
97e441dce9 configurable-dux-kernel-header-path-20010710
modified slightly to allow selection if more than one directory exists
2001-07-11 00:40:15 +00:00
Chaskiel M Grundman
f5eaadfeb9 configure-linux-redhat-support-on-redhat-only-20010706
a) if the kernel headers use redhat's header-file selection thing, and
   doesn't define their __BOOT_KERNEL* symbols if not.
b) which AFS kernel modules (single-processor, multi-processor, or both)
   it makes sense to compile against these kernel headers. e.g. in a
   CONFIG_MODVERSIONS environment, it only makes sense to compile for the
   same SMP-ness as the headers.
2001-07-06 23:44:05 +00:00
Derrick Brashear
5f9afd4147 allow-disabling-kernel-module-compilation-20010705
add missing fi
2001-07-05 17:55:29 +00:00
Derrick Brashear
27238dd64c configure-no-error-on-failure-to-find-pthreads-20010705
failure to find pthreads should be non-fatal
2001-07-05 17:40:05 +00:00
Derrick Brashear
62994d919d allow-disabling-kernel-module-compilation-20010705
in response to reports from hartmans@mekinok.com and zacheiss@mit.edu

will also autodisable for linux if no --with-linux-kernel-headers specified
and none found
2001-07-05 17:38:19 +00:00
Garry Zacheiss
151b8b5e60 configure-updates-for-linux-kernel-detection-20010705
report useful error if no kernel headers found. use last version string found
in version.h
2001-07-05 16:30:12 +00:00
Nathan Neulinger
64cde21257 provide-fast-start-configure-options-20010705
add more configure options so fast restart and bitmap later options can be configured on
2001-07-05 16:07:58 +00:00
Nathan Neulinger
bff2d87c98 autoconf-updates-for-ac-check-lib-quoting-20010629
quote refs to $lib
2001-06-29 05:51:37 +00:00
Nathan Neulinger
a250c7807f fix-linux-headers-updating-in-configure-20010629
make defaulting work correctly
2001-06-29 05:48:25 +00:00
Tom Maher
a7014d4208 update-freebsd-support-20010628
fileserver now set up for namei interface. still no client
2001-06-29 04:20:01 +00:00
Derrick Brashear
7c6170b1bb update-ac-substd-variables-so-aix-make-is-happy-with-obsolete-and-insecure-disabled-20010628
AIX gets upset qwhen these variables are unset
2001-06-28 08:03:25 +00:00
Derrick Brashear
aaca2cacd9 introduce-autoconf-for-openafs-20010628
replace existing build system with autoconf faceplate

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

so we can fix the file modes

====================
commit withj correct file modes

====================

stuff which got left behind

====================

more stuff which was missed

====================

get this right so build completes

====================

also make these correct (no obj reference)

====================

so autoconf dependancy chain need not change

====================

set correct variable for obsolete buildng

====================

so we can more easily use autoconf'd CC var
2001-06-28 06:44:19 +00:00