Re: Server Adjustments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Glus Xof on 12/14/2009 2:56 AM:
> Hello guys,
> 
> I'm developping a server application specially for GNU/Linux
> platforms... but as I'm a little newbie using the autools, I'd need to
> know what I can do to reach that the autotools realizes the system
> settings & adjustments (so, in /etc/services, /etc/rc.X/...) before
> the installation process concludes, (i.e., make install). Maybe,
> calling to a simply Shell Script (Bash) (at the installation process,
> of course...) would solve the problem, but... how to configure the
> call ?.

As the developer, you shouldn't have to worry about this.  Rather, the
installer should worry about it when they call ./configure, by passing
appropriate options to configure such as --sysconfdir=/etc.  Remember, not
everyone who installs your package will have root access, so you shouldn't
ever hard-code locations like /etc/services into your configure script
that would typically require root privileges.  Instead, by following the
GNU Coding Standards of providing locations that default relative to
- --prefix, but which can be overridden on a per-directory basis, you give
the installer full freedom to fit the needs of their machine.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksmNlYACgkQ84KuGfSFAYCNBACfTqCh9MLZmVIhDIimZ0ETf6+F
or4AnivZsZOwhMKYfeLGGB3i0fTlqd9Q
=2LRL
-----END PGP SIGNATURE-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux