Skip to contentSkip to conversation

automake gone?

DISCUSSION Brian May 1 participant 1 message Jan 2, 2003 1 message not in the archive SELinux security module

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Brian May

author
#1 lore raw
Quoted 3 lines · Joshua Brindle

Thanks for putting that back :). The archive there is the 2002102211 one, are you planning on adding automake support in the newest (20021212) archive? If not can you give me the info to do it? Thank you

Sorry I have been slow to respond, I have been busy the last week or so.

I think I had instructions on what I did in one of my earlier E-Mails. Mostly this just involves copying configure.in and all Makefile.am's across from my version, however, there was on directory which required significant source code modifications.

IIRC, the same *.c file was compiled many times with different parameters to gcc, but automake doesn't make this very easy; I renamed the *.c file to a *.h file, and created several different *.c files that #define the appropriate values before #include the *.h file. I think this directory was the only real problem I encountered, everything else was very straightforward.

You will also need to change the version number in configure.in

Once this is done, run autoreconf to update th other files.

I don't think I will have time to keep this up-to-date with the latest SE-Linux version, so it would be good if somebody could take over.

This was based on Russell's version, I am not sure how different Russell's version is to the upstream code (if it is different).

To test it out, run "make distcheck", this will create a *.tar.gz file, extract it, and try to compile it *in another directory*. If there are any missing files, they will be highlighted here. It may have problems locating the kernel source, I wasn't sure what the best way was of solving this problem, so I hardcoded the default directory in configure.in.

If you have problems, then please show me the full command line used and the full error displayed, and I might be able to help.
--
Brian May <[email protected]>

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.