home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / perl / Perl / hints / netbsd.sh < prev    next >
Encoding:
Text File  |  1995-04-10  |  520 b   |  18 lines

  1. # hints/netbsd.sh
  2. # netbsd keeps  dynamic loading dl*() functions in /usr/lib/crt0.o,
  3. # so Configure doesn't find them (unless you abandon the nm scan).
  4. case "$osvers" in
  5. 0.9*|0.8*)
  6.     usedl="$undef"
  7.     ;;
  8. *)    d_dlopen=$define
  9.     d_dlerror=$define
  10.     cccdlflags="-DPIC -fpic $cccdlflags"
  11.     lddlflags="-Bforcearchive -Bshareable $lddlflags"
  12.     ;;
  13. esac
  14.  
  15. # Avoid telldir prototype conflict in pp_sys.c  (NetBSD uses const DIR *)
  16. # Configure should test for this.  Volunteers?
  17. pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
  18.