Changeset 10491
- Timestamp:
- Dec 5, 2006, 5:36:49 PM (20 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 edited
-
psphotArguments.c (modified) (1 diff)
-
psphotVersion.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotArguments.c
r10437 r10491 10 10 psError(PSPHOT_ERR_ARGUMENTS, true, "Too few arguments: %d", argc); 11 11 return NULL; 12 } 13 14 if ((N = psArgumentGet (argc, argv, "-version"))) { 15 psString version; 16 version = psphotVersionLong(); fprintf (stdout, "%s", version); psFree (version); 17 # if (HAVE_KAPA) 18 fprintf (stdout, " with libkapa\n"); 19 # else 20 fprintf (stdout, " WITHOUT libkapa\n"); 21 # endif 22 version = psModulesVersionLong(); fprintf (stdout, "%s\n", version); psFree (version); 23 version = psLibVersionLong(); fprintf (stdout, "%s\n", version); psFree (version); 24 25 # if (HAVE_KAPA) 26 version = ohana_version(); fprintf (stdout, "%s\n", version); free (version); 27 version = libdvo_version(); fprintf (stdout, "%s\n", version); free (version); 28 # endif 29 exit (0); 12 30 } 13 31 -
trunk/psphot/src/psphotVersion.c
r10292 r10491 1 #ifdef HAVE_CONFIG_H2 #include <config.h>3 #endif4 5 #include <stdio.h>6 #include <pslib.h>7 #include <psmodules.h>8 1 #include "psphot.h" 9 2
Note:
See TracChangeset
for help on using the changeset viewer.
