Changeset 7170 for lang/c

Show
Ignore:
Timestamp:
02/26/08 20:59:41 (5 years ago)
Author:
frsyuki
Message:

lang/c/partty: autotoolized

Location:
lang/c/partty/trunk
Files:
3 added
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • lang/c/partty/trunk/partty.h

    r7167 r7170  
    11#ifndef PARTTY_H__ 
    22#define PARTTY_H__ 1 
     3 
     4#ifdef HAVE_CONFIG_H 
     5#include "config.h" 
     6#endif 
    37 
    48#include <stddef.h> 
     
    6973 
    7074 
    71 static const char VERSION[] = "0.0"; 
    72 static const char REVISION[] = "0"; 
     75//static const char PARTTY_VERSION[] = "0.0"; 
     76//static const char PARTTY_REVISION[] = "0"; 
    7377static const uint8_t PROTOCOL_VERSION = 1; 
    7478 
     
    156160        readonly_password_length (src.readonly_password_length), 
    157161        writable_password_length (src.writable_password_length), 
     162        user_name                (src.user_name               ), 
    158163        session_name             (src.session_name            ), 
    159164        readonly_password        (src.readonly_password       ), 
  • lang/c/partty/trunk/ptyshell.cc

    r6963 r7170  
    55#include <termios.h> 
    66#include <sys/ioctl.h> 
     7 
     8#ifdef HAVE_CONFIG_H 
     9#include "config.h" 
     10#endif 
     11 
     12#ifdef HAVE_UTIL_H 
    713#include <util.h> 
    8 // FIXME Linuxではutil.hの代わりにpty.hで-lutil 
     14#endif 
     15#ifdef HAVE_PTY_H 
     16#include <pty.h> 
     17#endif 
    918 
    1019namespace Partty {