view mkinstalldirs @ 27982:86de01dd01eb

Change many FRAME_X... macros to FRAME_WINDOW... or other non-platform-specific equivalents. [WINDOWSNT]: include w32term.h, fontset.h and define X specific functions and macros as their w32 equivalents where non-platform-specifics are not available. [HAVE_X_WINDOWS]: Change most of these to HAVE_WINDOW_SYSTEM. (x_create_gc, x_free_gc) [WINDOWSNT]: Add W32 versions. (clear_font_table) [WINDOWSNT]: Call w32_unload_font. (frame_update_line_height): Use macros to access f->output_data. (defined_color): Remove FIXME comments; fixed. (x_face_list_fonts, prepare_face_for_display): Put X specifics into #ifdef blocks. Add WINDOWSNT blocks. (Fx_list_fonts): Use macros for accessing font data. (set_lface_from_font_name): Different default fonts for X and WINDOWSNT. (font_scalable_p) [WINDOWSNT]: Treat wildcard XLFD_AVGWIDTH as scalable for backward compatibility. (realize_tty_face) [MSDOS]: do the same for WINDOWSNT. (syms_of_xfaces) [WINDOWSNT]: Allow scalable fonts by default.
author Jason Rumney <jasonr@gnu.org>
date Sat, 04 Mar 2000 14:53:34 +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