home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / perl / Perl / myconfig < prev    next >
Text File  |  1995-04-04  |  1KB  |  42 lines

  1. #!/bin/sh
  2.  
  3. # This script is designed to provide a handy summary of the configuration
  4. # information being used to build perl. This is especially useful if you
  5. # are requesting help from comp.lang.perl on usenet or via mail.
  6.  
  7. if test -f config.sh; then TOP=.;
  8. elif test -f ../config.sh; then TOP=..;
  9. elif test -f ../../config.sh; then TOP=../..;
  10. elif test -f ../../../config.sh; then TOP=../../..;
  11. elif test -f ../../../../config.sh; then TOP=../../../..;
  12. else
  13.     echo "Can't find the perl config.sh file produced by Configure"; exit 1
  14. fi
  15. . $TOP/config.sh
  16.  
  17. $spitshell <<!GROK!THIS!
  18.  
  19. Summary of my $package (patchlevel $PATCHLEVEL) configuration:
  20.   Platform:
  21.     osname=$osname, osver=$osvers, archname=$archname
  22.     uname='$myuname'
  23.     hint=$hint
  24.   Compiler:
  25.     cc='$cc', optimize='$optimize', ld='$ld'
  26.     cppflags='$cppflags'
  27.     ccflags ='$ccflags'
  28.     ldflags ='$ldflags'
  29.     stdchar='$stdchar', d_stdstdio=$d_stdstdio, usevfork=$usevfork
  30.     voidflags=$voidflags, castflags=$castflags, d_casti32=$d_casti32, d_castneg=$d_castneg
  31.     intsize=$intsize, alignbytes=$alignbytes, usemymalloc=$usemymalloc, randbits=$randbits
  32.   Libraries:
  33.     so=$so
  34.     libpth=$libpth
  35.     libs=$libs
  36.     libc=$libc
  37.   Dynamic Linking:
  38.     dlsrc=$dlsrc, dlext=$dlext, d_dlsymun=$d_dlsymun
  39.     cccdlflags='$cccdlflags', ccdlflags='$ccdlflags', lddlflags='$lddlflags'
  40.  
  41. !GROK!THIS!
  42.