digraphanalysis-cvs Mailing List for The Digraph Analysis Project (Page 2)
Status: Planning
Brought to you by:
jbreker
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(10) |
Apr
(31) |
May
(27) |
Jun
(16) |
Jul
(10) |
Aug
|
Sep
(27) |
Oct
|
Nov
|
Dec
|
|---|
|
From: Jeff B. <jb...@us...> - 2005-09-05 13:49:11
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18451/src Removed Files: Makefile.am Log Message: autotool crap is pissing me off. --- Makefile.am DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-09-04 22:50:30
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19592 Modified Files: graph.c input.c main.c output.c Log Message: clear up some warnings Index: output.c =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/output.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** output.c 28 May 2005 20:58:00 -0000 1.7 --- output.c 4 Sep 2005 22:50:22 -0000 1.8 *************** *** 20,25 **** --- 20,28 ---- #include <sys/stat.h> + #include <err.h> #include <libgen.h> + #include <stdlib.h> #include <sysexits.h> + #include <unistd.h> #include "alias.h" Index: main.c =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/main.c,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** main.c 28 May 2005 20:58:00 -0000 1.15 --- main.c 4 Sep 2005 22:50:22 -0000 1.16 *************** *** 29,33 **** --- 29,35 ---- #include "alias.h" + #include "analysis.h" #include "graph.h" + #include "input.h" #include "list.h" #include "main.h" Index: input.c =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/input.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** input.c 24 May 2005 22:40:45 -0000 1.2 --- input.c 4 Sep 2005 22:50:22 -0000 1.3 *************** *** 16,20 **** --- 16,23 ---- */ + #include <ctype.h> + #include <err.h> #include <stdio.h> + #include <stdlib.h> #include <sysexits.h> Index: graph.c =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/graph.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** graph.c 28 May 2005 20:58:00 -0000 1.7 --- graph.c 4 Sep 2005 22:50:21 -0000 1.8 *************** *** 20,23 **** --- 20,24 ---- #include "alias.h" #include "graph.h" + #include "list.h" #include "node.h" |
|
From: Jeff B. <jb...@us...> - 2005-07-05 00:42:50
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6985 Modified Files: ChangeLog Makefile.am Log Message: Moved files around. Index: Makefile.am =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 3 Jun 2005 00:22:10 -0000 1.1 --- Makefile.am 5 Jul 2005 00:42:10 -0000 1.2 *************** *** 1 **** ! SUBDIRS = src utils --- 1 ---- ! SUBDIRS = src Index: ChangeLog =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 4 Jul 2005 00:30:16 -0000 1.2 --- ChangeLog 5 Jul 2005 00:42:10 -0000 1.3 *************** *** 1,2 **** --- 1,6 ---- + 2005-07-04 Jeff Breker <jb...@sy...> + * Moved gpg2digraph/gpg2dot into the src directory, as + automake/autoconf can compile multiple apps from a single directory. + 2005-07-03 Jeff Breker <jb...@sy...> * Added myself to AUTHORS |
|
From: Jeff B. <jb...@us...> - 2005-07-05 00:42:28
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils/gpg2dot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6985/utils/gpg2dot Removed Files: gpg2dot.1 gpg2dot.c Log Message: Moved files around. --- gpg2dot.1 DELETED --- --- gpg2dot.c DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-07-05 00:42:27
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils/gpg2digraph In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6985/utils/gpg2digraph Removed Files: gpg2digraph.1 gpg2digraph.c Log Message: Moved files around. --- gpg2digraph.c DELETED --- --- gpg2digraph.1 DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-07-05 00:42:27
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6985/src Modified Files: Makefile.am Added Files: gpg2digraph.1 gpg2digraph.c gpg2dot.1 gpg2dot.c Log Message: Moved files around. --- NEW FILE: gpg2dot.1 --- --- NEW FILE: gpg2dot.c --- /* $Id: gpg2dot.c,v 1.1 2005/07/05 00:42:11 jbreker Exp $ * * Copyright (C) 2005 Jeff Breker <jb...@sy...> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sysexits.h> #include <unistd.h> char *do_pub(void); void do_sig(char *); char *do_uid(char *); unsigned int encode(char *); void func001(unsigned int); char *get_fingerprint(); char *get_keyid(); char *get_name(); /* Handle a sig line. */ void do_sig(char *keyid_p) { char c, *keyid_s, *name; func001(4); keyid_s = get_keyid(); func001(5); name = get_name(); if (strcmp(name, "[User ID not found]") != 0) { fprintf(stdout, "\"%s\" -> \"%s\";\n", keyid_s, keyid_p); while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if(ferror(stdin)) exit(EX_IOERR); } free(keyid_s); free(name); return; } /* Handle a pub line. */ char * do_pub() { char c, *keyid, *name; func001(4); keyid = get_keyid(); func001(5); name = get_name(); fprintf(stdout, "\"%s\" [label=\"%s\"];\n", keyid, name); while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if (ferror(stdin)) exit(EX_IOERR); free(name); return keyid; } /* Handle a uid line. */ char * do_uid(char *keyid_p) { char c, *keyid, *name; func001(7); keyid = get_fingerprint() + 24; func001(2); name = get_name(); /* fprintf(stdout, "\"%s\" = \"%s\";\n", keyid_p, keyid); */ while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if (ferror(stdin)) exit(EX_IOERR); free(name); return keyid_p; } unsigned int encode(char *string) { return (tolower(toascii((*string))) * 1000000) + (tolower(toascii(*(string + 1))) * 1000) + (tolower(toascii(*(string + 2)))); } /* Advances over 'n' colons. */ void func001(unsigned int n) { char c; unsigned int i; i = 0; while (i < n) if ((c = fgetc(stdin)) == ':') ++i; else if(feof(stdin) || ferror(stdin)) exit(EX_IOERR); return; } /* Obtain the fingerprint from stdin. */ char * get_fingerprint() { char c, *fingerprint; unsigned int i; fingerprint = malloc(41); for (i = 0; i < 40; ++i) { c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); c = toupper(c); if (!isxdigit(c)) exit(EX_DATAERR); *(fingerprint + i) = (char) c; } *(fingerprint + 40) = '\0'; return fingerprint; } /* Obtain the keyid from stdin. */ char * get_keyid() { char c, *keyid; unsigned int i; keyid = malloc(17); for (i = 0; i < 16; ++i) { c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); c = toupper(c); if (!isxdigit(c)) exit(EX_DATAERR); *(keyid + i) = (char) c; } *(keyid + 16) = '\0'; return keyid; } /* Obtain the name from stdin. */ char * get_name() { char c, *name; int tmppipe[2]; unsigned int i; i = 1; pipe(tmppipe); c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); while (c != ':') { ++i; if (i == 0) exit(EX_OSERR); /* String is too long. */ write(tmppipe[1], &c, 1); c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); } if ((name = malloc(i)) == NULL) exit(EX_OSERR); /* Cannot allocate the memory. */ read(tmppipe[0], name, i - 1); close(tmppipe[0]); close(tmppipe[1]); *(name + i - 1) = '\0'; return name; } /* Converts 'gpg --list-sigs --with-colons' output into a dot graph. */ int main(int argc, char **argv) { int break_while; char *keyid_p, *type; break_while = 0; type = malloc(4); fprintf(stdout, "digraph gpg2dot {\n"); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) break; switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); break; case (115105103): /* sig */ do_sig(keyid_p); break; case (117105100): /* uid */ keyid_p = do_uid(keyid_p); break; default: break_while = 1; break; } if(break_while) { break_while = 0; break; } } break; case (117105100): /* uid */ keyid_p = do_uid(keyid_p); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); break; case (115105103): /* sig */ do_sig(keyid_p); break; case (117105100): /* uid */ keyid_p = do_uid(keyid_p); break; default: break_while = 1; break; } if(break_while) { break_while = 0; break; } } default: break; } } fprintf(stdout, "}\n"); return 0; } --- NEW FILE: gpg2digraph.c --- /* $Id: gpg2digraph.c,v 1.1 2005/07/05 00:42:11 jbreker Exp $ * * Copyright (C) 2005 Jeff Breker <jb...@sy...> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sysexits.h> #include <unistd.h> char *do_pub(void); void do_sig(char *); char *do_uid(char *); unsigned int encode(char *); void func001(unsigned int); char *get_fingerprint(); char *get_keyid(); char *get_name(); /* Handle a sig line. */ void do_sig(char *keyid_p) { char c, *keyid_s, *name; func001(4); keyid_s = get_keyid(); func001(5); name = get_name(); if (strcmp(name, "[User ID not found]") != 0) fprintf(stdout, "e:%u:%s:%u:%s\n", strlen(keyid_p), keyid_p, strlen(keyid_s), keyid_s); while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if(ferror(stdin)) exit(EX_IOERR); free(keyid_s); free(name); return; } /* Handle a pub line. Note: this should output only an a line, with this in mind * a lines will be renamed to n lines (dont do this until digraphanalysis * compiles cleanly handling the alias + node lists. */ char * do_pub() { char c, *keyid, *name; func001(4); keyid = get_keyid(); func001(5); name = get_name(); fprintf(stdout, "n:%u:%s:%u:%s:%u:%s\n", strlen(keyid), keyid, strlen(keyid), keyid, strlen(name), name); while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if (ferror(stdin)) exit(EX_IOERR); free(name); return keyid; } /* Handle a uid line. */ char * do_uid(char *keyid_p) { char c, *keyid, *name; func001(7); keyid = get_fingerprint() + 24; func001(2); name = get_name(); fprintf(stdout, "n:%u:%s:%u:%s:%u:%s\n", strlen(keyid_p), keyid_p, strlen(keyid), keyid, strlen(name), name); while (((c = fgetc(stdin)) != '\n') && (feof(stdin) == 0)) if (ferror(stdin)) exit(EX_IOERR); free(name); return keyid; } unsigned int encode(char *string) { return (tolower(toascii((*string))) * 1000000) + (tolower(toascii(*(string + 1))) * 1000) + (tolower(toascii(*(string + 2)))); } /* Advances over 'n' colons. */ void func001(unsigned int n) { char c; unsigned int i; i = 0; while (i < n) if ((c = fgetc(stdin)) == ':') ++i; else if(feof(stdin) || ferror(stdin)) exit(EX_IOERR); return; } /* Obtain the fingerprint from stdin. */ char * get_fingerprint() { char c, *fingerprint; unsigned int i; fingerprint = malloc(41); for (i = 0; i < 40; ++i) { c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); c = toupper(c); if (!isxdigit(c)) exit(EX_DATAERR); *(fingerprint + i) = (char) c; } *(fingerprint + 40) = '\0'; return fingerprint; } /* Obtain the keyid from stdin. */ char * get_keyid() { char c, *keyid; unsigned int i; keyid = malloc(17); for (i = 0; i < 16; ++i) { c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); c = toupper(c); if (!isxdigit(c)) exit(EX_DATAERR); *(keyid + i) = (char) c; } *(keyid + 16) = '\0'; return keyid; } /* Obtain the name from stdin. */ char * get_name() { char c, *name; int tmppipe[2]; unsigned int i; i = 1; pipe(tmppipe); c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); while (c != ':') { ++i; if (i == 0) exit(EX_OSERR); /* String is too long. */ write(tmppipe[1], &c, 1); c = fgetc(stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); } if ((name = malloc(i)) == NULL) exit(EX_OSERR); /* Cannot allocate the memory. */ read(tmppipe[0], name, i - 1); close(tmppipe[0]); close(tmppipe[1]); *(name + i - 1) = '\0'; return name; } /* Converts 'gpg --list-sigs --with-colons' output into digraph-analysis input. */ int main(int argc, char **argv) { int break_while; char *keyid_p, *type; break_while = 0; type = malloc(4); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) break; switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); break; case (115105103): /* sig */ do_sig(keyid_p); break; case (117105100): /* uid */ do_uid(keyid_p); break; default: break_while = 1; break; } if(break_while) { break_while = 0; break; } } break; case (117105100): /* uid */ do_uid(keyid_p); while (feof(stdin) == 0) { fgets(type, 4, stdin); if (feof(stdin) || ferror(stdin)) exit(EX_IOERR); switch (encode(type)) { case (112117098): /* pub */ keyid_p = do_pub(); break; case (115105103): /* sig */ do_sig(keyid_p); break; case (117105100): /* uid */ do_uid(keyid_p); break; default: break_while = 1; break; } if(break_while) { break_while = 0; break; } } default: break; } } return 0; } Index: Makefile.am =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/src/Makefile.am,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.am 3 Jun 2005 00:22:11 -0000 1.1 --- Makefile.am 5 Jul 2005 00:42:10 -0000 1.2 *************** *** 1,2 **** ! bin_PROGRAMS = digraphanalysis digraphanalysis_SOURCES = alias.c analysis.c graph.c input.c list.c main.c node.c output.c --- 1,5 ---- ! bin_PROGRAMS = digraphanalysis gpg2digraph gpg2dot ! digraphanalysis_SOURCES = alias.c analysis.c graph.c input.c list.c main.c node.c output.c + gpg2digraph_SOURCES = gpg2digraph.c + gpg2dot_SOURCES = gpg2dot.c --- NEW FILE: gpg2digraph.1 --- |
|
From: Jeff B. <jb...@us...> - 2005-07-05 00:42:27
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6985/utils Removed Files: Makefile.am Log Message: Moved files around. --- Makefile.am DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-07-04 00:30:41
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5317 Modified Files: AUTHORS ChangeLog README Log Message: minor changes Index: README =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/README,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** README 1 Jul 2005 16:54:24 -0000 1.1 --- README 4 Jul 2005 00:30:16 -0000 1.2 *************** *** 0 **** --- 1,5 ---- + Digraph Analysis Version 1.0 Release + + http://digraphanalysis.sourceforge.net/ + Copyright (c) 2005 Jeff Breker <jb...@sy...> + Index: AUTHORS =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/AUTHORS,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** AUTHORS 1 Jul 2005 16:54:24 -0000 1.1 --- AUTHORS 4 Jul 2005 00:30:16 -0000 1.2 *************** *** 0 **** --- 1 ---- + Jeff Breker <jb...@sy...> Index: ChangeLog =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/ChangeLog,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ChangeLog 1 Jul 2005 16:54:24 -0000 1.1 --- ChangeLog 4 Jul 2005 00:30:16 -0000 1.2 *************** *** 0 **** --- 1,4 ---- + 2005-07-03 Jeff Breker <jb...@sy...> + * Added myself to AUTHORS + * Trimmed various files + * Started README |
|
From: Jeff B. <jb...@us...> - 2005-07-03 00:42:02
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21943 Modified Files: aclocal.m4 configure.ac Log Message: -AM_CONFIG_HEADER Index: aclocal.m4 =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/aclocal.m4,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** aclocal.m4 3 Jul 2005 00:35:05 -0000 1.1 --- aclocal.m4 3 Jul 2005 00:41:38 -0000 1.2 *************** *** 11,37 **** dnl PARTICULAR PURPOSE. - # Like AC_CONFIG_HEADER, but automatically create stamp file. - - AC_DEFUN([AM_CONFIG_HEADER], - [AC_PREREQ([2.12]) - AC_CONFIG_HEADER([$1]) - dnl When config.status generates a header, we must update the stamp-h file. - dnl This file resides in the same directory as the config header - dnl that is generated. We must strip everything past the first ":", - dnl and everything past the last "/". - AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl - ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, - <<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, - <<am_indx=1 - for am_file in <<$1>>; do - case " <<$>>CONFIG_HEADERS " in - *" <<$>>am_file "*<<)>> - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx - ;; - esac - am_indx=`expr "<<$>>am_indx" + 1` - done<<>>dnl>>) - changequote([,]))]) - # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. --- 11,14 ---- Index: configure.ac =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/configure.ac,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** configure.ac 1 Jul 2005 16:54:24 -0000 1.4 --- configure.ac 3 Jul 2005 00:41:38 -0000 1.5 *************** *** 2,6 **** AC_CONFIG_SRCDIR([src/alias.c]) - AM_CONFIG_HEADER(config.h) AC_CANONICAL_SYSTEM --- 2,5 ---- |
|
From: Jeff B. <jb...@us...> - 2005-07-03 00:35:14
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18676 Added Files: aclocal.m4 Log Message: aclocal --- NEW FILE: aclocal.m4 --- dnl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN([AM_CONFIG_HEADER], [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <<test -z "<<$>>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <<am_indx=1 for am_file in <<$1>>; do case " <<$>>CONFIG_HEADERS " in *" <<$>>am_file "*<<)>> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx ;; esac am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # Copyright 2002 Free Software Foundation, Inc. # 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 General Public License for more details. # 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 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.4-p6])]) # # Check to make sure that the build environment is sane. # AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "[$]2" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) |
|
From: Jeff B. <jb...@us...> - 2005-07-03 00:25:29
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13418 Added Files: config.guess config.sub install-sh missing mkinstalldirs Log Message: files so automake doesn't complain --- NEW FILE: mkinstalldirs --- #! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <fri...@pr...> # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.1 2005/07/03 00:25:16 jbreker Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" case "$pathcomp" in -* ) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here --- NEW FILE: install-sh --- #!/bin/sh # # install - install a program, script, or datafile # # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 --- NEW FILE: config.guess --- #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-04-22' # This file 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 of the License, 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 # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software [...1426 lines suppressed...] /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: --- NEW FILE: config.sub --- #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. timestamp='2005-04-22' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file 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 of the License, 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 [...1530 lines suppressed...] -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: --- NEW FILE: missing --- #! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois Pinard <pi...@ir...>, 1996. # 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 General Public License for more details. # 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. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.in; then configure_ac=configure.ac else configure_ac=configure.in fi case "$1" in -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 |
|
From: Jeff B. <jb...@us...> - 2005-07-01 16:55:07
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19156 Modified Files: configure.ac Added Files: AUTHORS COPYING ChangeLog INSTALL NEWS README Log Message: some stuff for autotools Index: configure.ac =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/configure.ac,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** configure.ac 8 Jun 2005 19:51:37 -0000 1.3 --- configure.ac 1 Jul 2005 16:54:24 -0000 1.4 *************** *** 1,11 **** - AC_PREREQ(2.59) AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) AC_CONFIG_SRCDIR([src/alias.c]) ! AC_CONFIG_HEADER([config.h]) AC_CANONICAL_SYSTEM AC_PROG_CC AC_HEADER_STDC --- 1,14 ---- AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) AC_CONFIG_SRCDIR([src/alias.c]) ! AM_CONFIG_HEADER(config.h) AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE + AC_PROG_CC + AC_PROG_INSTALL + AC_PROG_MAKE_SET AC_HEADER_STDC --- NEW FILE: INSTALL --- Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Optional Features ================= Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Specifying the System Type ========================== There may be some features `configure' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. --- NEW FILE: COPYING --- Copyright (C) 2005 Jeff Breker <jb...@sy...> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- NEW FILE: ChangeLog --- --- NEW FILE: README --- --- NEW FILE: NEWS --- --- NEW FILE: AUTHORS --- |
|
From: Jeff B. <jb...@us...> - 2005-06-08 19:51:47
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30931 Modified Files: configure.ac Log Message: changes Index: configure.ac =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/configure.ac,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** configure.ac 3 Jun 2005 00:28:54 -0000 1.2 --- configure.ac 8 Jun 2005 19:51:37 -0000 1.3 *************** *** 1,9 **** AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) - AC_CANONICAL_SYSTEM ! AM_CONFIG_HEADER(config.h) ! AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) ! AC_PREREQ([2.59]) AC_PROG_CC --- 1,9 ---- + AC_PREREQ(2.59) AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) ! AC_CONFIG_SRCDIR([src/alias.c]) ! AC_CONFIG_HEADER([config.h]) ! AC_CANONICAL_SYSTEM AC_PROG_CC |
|
From: Jeff B. <jb...@us...> - 2005-06-03 00:29:03
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28741 Modified Files: configure.ac Log Message: learning how to write autoconf/automake stuff from the gaim project Index: configure.ac =================================================================== RCS file: /cvsroot/digraphanalysis/digraphanalysis/configure.ac,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** configure.ac 2 Jun 2005 01:34:15 -0000 1.1 --- configure.ac 3 Jun 2005 00:28:54 -0000 1.2 *************** *** 1,5 **** - AC_PREREQ(2.59) AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) ! AC_CONFIG_SRCDIR([src/alias.c]) AC_PROG_CC --- 1,9 ---- AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) ! AC_CANONICAL_SYSTEM ! ! AM_CONFIG_HEADER(config.h) ! AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) ! ! AC_PREREQ([2.59]) AC_PROG_CC |
|
From: Jeff B. <jb...@us...> - 2005-06-03 00:23:04
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25031/src Added Files: Makefile.am Removed Files: Makefile.in Log Message: err woops Makefile.in is generated by Makefile.am not the other way around --- Makefile.in DELETED --- --- NEW FILE: Makefile.am --- bin_PROGRAMS = digraphanalysis digraphanalysis_SOURCES = alias.c analysis.c graph.c input.c list.c main.c node.c output.c |
|
From: Jeff B. <jb...@us...> - 2005-06-03 00:23:02
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25031 Added Files: Makefile.am Removed Files: Makefile.in Log Message: err woops Makefile.in is generated by Makefile.am not the other way around --- Makefile.in DELETED --- --- NEW FILE: Makefile.am --- SUBDIRS = src utils |
|
From: Jeff B. <jb...@us...> - 2005-06-03 00:22:24
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25031/utils Added Files: Makefile.am Removed Files: Makefile.in Log Message: err woops Makefile.in is generated by Makefile.am not the other way around --- Makefile.in DELETED --- --- NEW FILE: Makefile.am --- SUBDIRS = gpg2digraph gpg2dot |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:34:36
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1428/utils Added Files: Makefile.in Log Message: some stuff for automake/autoconf --- NEW FILE: Makefile.in --- SUBDIRS = gpg2digraph gpg2dot |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:34:25
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1428/src Added Files: Makefile.in Log Message: some stuff for automake/autoconf --- NEW FILE: Makefile.in --- bin_PROGRAMS = digraphanalysis digraphanalysis_SOURCES = alias.c analysis.c graph.c input.c list.c main.c node.c output.c |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:34:24
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1428 Added Files: Makefile.in configure.ac Log Message: some stuff for automake/autoconf --- NEW FILE: Makefile.in --- SUBDIRS = src utils --- NEW FILE: configure.ac --- AC_PREREQ(2.59) AC_INIT([digraphanalysis], [1.0], [jb...@sy...]) AC_CONFIG_SRCDIR([src/alias.c]) AC_PROG_CC AC_HEADER_STDC AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) AC_TYPE_SIZE_T AC_FUNC_MALLOC AC_FUNC_STAT AC_CHECK_FUNCS([mkdir]) AC_CONFIG_FILES([Makefile src/Makefile utils/Makefile]) AC_OUTPUT |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:01:04
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils/gpg2dot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15446/utils/gpg2dot Removed Files: BSDmakefile Log Message: make way for using autoconf/automake --- BSDmakefile DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:01:00
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils/gpg2digraph In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15446/utils/gpg2digraph Removed Files: BSDmakefile Log Message: make way for using autoconf/automake --- BSDmakefile DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:00:49
|
Update of /cvsroot/digraphanalysis/digraphanalysis/utils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15446/utils Removed Files: BSDmakefile Log Message: make way for using autoconf/automake --- BSDmakefile DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:00:49
|
Update of /cvsroot/digraphanalysis/digraphanalysis/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15446/src Removed Files: BSDmakefile Log Message: make way for using autoconf/automake --- BSDmakefile DELETED --- |
|
From: Jeff B. <jb...@us...> - 2005-06-02 01:00:45
|
Update of /cvsroot/digraphanalysis/digraphanalysis In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15446 Removed Files: BSDmakefile Log Message: make way for using autoconf/automake --- BSDmakefile DELETED --- |