[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/gl
From: |
gsasl-commit |
Subject: |
CVS gsasl/gl |
Date: |
Wed, 29 Sep 2004 02:03:47 +0200 |
Update of /home/cvs/gsasl/gl
In directory dopio:/tmp/cvs-serv18731/gl
Modified Files:
Makefile.am dummy.c progname.h
Log Message:
Update.
--- /home/cvs/gsasl/gl/Makefile.am 2004/09/05 20:37:46 1.33
+++ /home/cvs/gsasl/gl/Makefile.am 2004/09/29 00:03:46 1.34
@@ -10,7 +10,7 @@
# Generated by gnulib-tool.
#
# Invoked as: gnulib-tool --import
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgl --source-base=gl
--m4-base=gl/m4 --libtool dummy error exit extensions getaddrinfo getline
getopt getpass-gnu gettext progname restrict stdbool strdup unlocked-io
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgl --source-base=gl
--m4-base=gl/m4 --libtool dummy error exit extensions getaddrinfo getline
getopt getpass-gnu gettext progname restrict stdbool strdup unlocked-io
AUTOMAKE_OPTIONS = 1.8 gnits
--- /home/cvs/gsasl/gl/dummy.c 2004/08/03 16:01:20 1.3
+++ /home/cvs/gsasl/gl/dummy.c 2004/09/29 00:03:47 1.4
@@ -1,18 +1,18 @@
/* A dummy file, to prevent empty libraries from breaking builds.
- Copyright (C) 2004 Simon Josefsson
+ Copyright (C) 2004 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU Library General Public License as published
- by the Free Software Foundation; either version 2, or (at your option)
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with this program; if not, write to the Free Software
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
--- /home/cvs/gsasl/gl/progname.h 2004/09/19 10:21:02 1.3
+++ /home/cvs/gsasl/gl/progname.h 2004/09/29 00:03:47 1.4
@@ -16,8 +16,8 @@
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-#ifndef PROGNAME_H
-#define PROGNAME_H
+#ifndef _PROGNAME_H
+#define _PROGNAME_H
/* Programs using this file should do the following in main():
set_program_name (argv[0]);
@@ -41,10 +41,26 @@
path separators. */
extern const char *get_short_program_name (void);
+#if ENABLE_RELOCATABLE
+
+/* Set program_name, based on argv[0], and original installation prefix and
+ directory, for relocatability. */
+extern void set_program_name_and_installdir (const char *argv0,
+ const char *orig_installprefix,
+ const char *orig_installdir);
+#define set_program_name(ARG0) \
+ set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR)
+
+/* Return the full pathname of the current executable, based on the earlier
+ call to set_program_name_and_installdir. Return NULL if unknown. */
+extern char *get_full_program_name (void);
+
+#endif
+
#ifdef __cplusplus
}
#endif
-#endif /* PROGNAME_H */
+#endif /* _PROGNAME_H */