view mkinstalldirs @ 27634:6c9ee29e8955

* dispextern.h: Change HAVE_X_WINDOWS to HAVE_WINDOW_SYSTEM, around image definitions and prototypes. (gamma_correct) [WINDOWSNT]: New prototype. * w32term.c (x_make_frame_visible): Replace call to input_poll_signal with poll_for_input. * window.c [WINDOWSNT]: Include w32term.h. * xdisp.c [WINDOWSNT]: Include w32term.h. * makefile.nt: Add dependencies on w32gui.h. (OBJ1): Include atimer.obj. ($(BLD)\atimer.obj): New dependency rule. * w32.c (sigmask): New function (does nothing). (sigunblock): Ditto. * frame.c [WINDOWSNT]: Include w32term.h. * w32gui.h (struct W32FontStruct): Add ascent and descent slots. * lread.c (syms_of_lread): Fix literal newlines. * emacs.c (USAGE): Split into USAGE1 and USAGE2, to work-around the string constant limit (2048 bytes) in MSVC. (main): Ditto.
author Andrew Innes <andrewi@gnu.org>
date Sun, 06 Feb 2000 23:37:51 +0000
parents 4fe4a165a116
children 774df19dd335
line wrap: on
line source

#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain

# $Id: mkinstalldirs,v 1.11 1998/05/19 07:05:25 drepper dead $

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" 1>&2

        mkdir "$pathcomp" || lasterr=$?

        if test ! -d "$pathcomp"; then
  	  errstatus=$lasterr
        fi
     fi

     pathcomp="$pathcomp/"
   done
done

exit $errstatus

# mkinstalldirs ends here